تم الحل ✓
categoryهندسة الحاسبات
schoolبكالوريوس
event_available2026-07-15
السؤال
Transcribed Image Text:
4.
(a) (i) Convert the following to their hexadecimal equivalents and illustrate the method by
showing the calculations: 110110112, 4837310.
(ii) Convert the following to their decimal equivalents again showing the method used:
101011002, 78AB16.
(iii) Convert the following numbers to the BCD equivalents: 2910, 84710-
(3 marks)
(b) Describe the operation performed by each line in the assembly language program shown
below. What function is performed by this program?
(2 marks)
START MOV BX, 01A0
MOV AH, 27
MOV AL, BD
MARK
MOV [BX], AL
INC BX
DEC AH
JNZ MARK
INT 20
(c) Explain the significance of the order of the INC and DEC instructions. Illustrate the
operation of the flag register using three suitable instructions from the assembly listing in
part (b) above. Rewrite this program using the LOOP instead of the JNZ instruction.
(d) A certain compiler uses a 64-bit floating point format as shown below.
(3 marks)
63
exponent
56
55
mantissa
0
The exponent is expressed as a power of 2 and is an 8-bit signed integer. The MSB of
the mantissa gives the sign of the number. Estimate the range and resolution available
with this system.
(2 marks)
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.