Assignment 1 Solution
Assignment 1 Solution
Assignment#1
Answer to the question no-2
Write the 8086 instruction which will perform the indicated operation
Solution:
ORG 100H
a. MOV BL, AL
c. ADD CX, 1
d. MOV BP, SP
f. MUL BL
g. MOV [245AH], AX
h. SUB SP, 1
i.ROL AL, 1
j. MOV [BX], DL
RET
Answer to the question no-3
If 8086 data segment register contains 7000H, write the instruction that will copy the contents of
DL to address 7482CH
Solution:
ORG 100H
MOV [7482C], DL
RET
Here 7000H which 4 bits and it will add the IP address 482C to get the physical address
7482CH.Then it will copy the content into DL.