In: Electrical Engineering
Assume that the registers have the following values (all in hex)
and that CS= 1000, DS = 2000,
SS=3000, SI=4000, DI = 5000, BX=6080, BP= 7000, AX=25FF, CX=8791,
and DX=1299. Calculate
the physical address of the memory where the operand is stored and
the contents of the memory
locations in each of the addressing examples.
a) MOV [SI], AL
b) MOV [SI+BX+8], AH
c) MOV [BX]+300, DX
Now Examine the status of the CF, PF, AF, ZF, and SF if we execute
the following statement after
first statement stated above. (N is equal to Last three digits of
your roll number, convert to hex, show
binary equivalent of N and show all the carries generated at each
stage of addition)
d) MOV [SI], AL
ADD [SI], N