تم الحل ✓
categoryهندسة الحاسبات
schoolبكالوريوس
event_available2026-07-14
السؤال
Transcribed Image Text:
Part I (Addressing Modes)
1.
Identify the addressing modes used for the source and the destination operands in the instructions that
follow.
Note H means hexadecimal when we write 0A04H means the number is 0A04 in base 16 or (0A04)16
a) MOV AL, BL
b) MOV AX, OFFH
c) MOV [DI], AX
d) MOV DL [SI]
e) MOV [BX] + 0400H, CX
1) MOV DI]
0400H, AH
g) MOV [BX] [DI]
0400H, AL
2. Compute the physical address for the specified operand in each of the following instructions from
problem 4. The register contents and variables are as follows:
CS=0A00H, DS=OB00H, SI=0100H, DI=0200H, and BX=0300HCalculate the physical address for the
following logical addressés. Assume all numbers are Hexadecimal:
a) Destination operand of the instruction in (c) in problem 1.
b) Source operand of the instruction in (d) in problem 1.
c) Destination operand of the instruction in (e) in problem 1.
d) Destination operand of the instruction in (f) in problem 1
e) Destination operand of the instruction in (g) in problem 1.
3. The content of the 8088's registers are as follows:
AX=0010 H
SL0100 H
BX-0020 H
DI-0200 H
CX=0030 H
DX=0040 H
And the memory locations as identified by the logical addresses is as follows:
(DS:100H)=10H
(DS:200H)=30H
(DS:101H) 00H
(DS:201H)-00H
(DS:120H) FFH
(DS:210H)=40H
(DS:121H)-FFH
(DS:211H)-00H
(DS:130H)=08H
(DS:220H) 30H
(DS:131H)=00H
(DS:221H)=00H
(DS:150H)=02H
What result is produced in the destination operand by executing the following instructions
assuming the content of the 8088's registers and memory as given above prior to the execution of
each instruction?
a) ADD AX QOFFH
b) ADC SLAX
c) INC
BYTE PTR [0100H]
d) SUB
DI Ble
e) SBB
DL, [0200H]
f) DEC BYTE PTR [DI+BX]
g) NEG BYTE PTR [DI]+0010H
h) MUL DX
check_circle الجواب — حل مفصل خطوة بخطوة
hourglass_top
🔒
الحل الكامل متاح للمشتركين
اشترك في أرشيف الأسئلة لعرض هذا الحل وآلاف الحلول المفصلة خطوة بخطوة من معلمين معتمدين.