Uploaded by sadika tanisha

QUIZ2

advertisement
1. SP, the default segment of SS. DI is the default segment of SI
2. You should never change CS without also changing IP. This
instruction would most likely cause the system to crash because
only the segment portion of the address of the next instruction is
changed.
3. The PUSH and POP always transfers 16-bit number between the
stack and a register memory location
4. CS segment register cannot be popped from the stack
5. These first instruction shall push the value stored in AX (16-bit
register) to the stack. This is done by subtracting a value of 2 (2 bytes)
from SP. The CPU then copies the value of AX to the memory word..
6. When PUSH BX is executed the contents of register BH and BL are
pushed on to the stack
SS: 0200H
SP: 0100H
So, BL, LSB is stored at SP-1 and BH is stored in SP-2
7. The 16-bit POP instruction increments SP by 2
8. The XLAT instruction passes the contents of AL to the contents of BX
to form a data segment offset address that accesses a memory
location whose content is then copied into AL.
9.
MOV AX,DS:[BP] //I’m confused about this
Download