Need help on these question Describe the operation performed

Need help on these question

Describe the operation performed by each of the following instruction.

Assume that the state of 8088’s registers and memory just prior to execution of each instruction is as follow:

(AX) = 5555H

(BX) = 0010H

(CX) = 0010H

(DX) = AAAAH

(DI) = 0200H

(DS:100H) = 0FH

(DS:101H) = F0H

(DS:110H) = 00H

(DS:111H) = FFH

(DS:200H) = 30H

(DS:201H) = 00H

(DS:210H) = AAH

(DS:220H) = 55H

(DS:300H) = AAH

(DS:301H) = 55H

What are the results produced in the destination operands after executing instructions ( a) through (g)

a) AND BYTE PTR [0300H], OFH

b) AND DX [SI]

c) OR [BX+DI], AX

d) OR BYTE PTR [BX][DI]+ 10H,0F0H

e) XOR AX [SI +BX]

f) NOT WORD PTR [BX+DI]

Solution

(a) (DS:300H) = 0AH

(b) (DX) = A00AH

(c) (DS:210H) = FFFFH

(d) (DS:220H) = F5H

(e) (AX) = AA55H

(f) (DS:300H) = 55H

(g) (DS:210H) = 55H, (DS:211H) = 55H

What are the results produced in the destination operands after executing instructions

(a) 0FH is ANDed with the contents of the byte-wide memory address DS:300H.

(b) Contents of DX are ANDed with the contents of the word storage location pointed to by DSx10 + SI.

(c) Contents of AX are ORed with the word contents of the memory location pointed to by DSx10 + BX + DI.

(d) F0H is ORed with the contents of the byte-wide memory location pointed to by DSx10 + BX + D) + 10H.

(e) Contents of the word-wide memory location pointed to by DSx10 + SI + BX are exclusive-ORed with the contents of AX.

(f) The bits of the word memory location pointed to by DSx10 + BX + DI are inverted.

Need help on these question Describe the operation performed by each of the following instruction. Assume that the state of 8088’s registers and memory just pri
Need help on these question Describe the operation performed by each of the following instruction. Assume that the state of 8088’s registers and memory just pri

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site