Microprocessor20765 marksInstruction Types
Differentiate between PUSH and POP instruction with example illustrating the use of these instructions.
Differentiate between PUSH and POP instruction with example illustrating the use of these instructions. [5]
PUSH is a data transfer instruction that copies the contents of a specified register pair onto the stack (a reserved area in memory). The Stack Pointer (SP) is decremented by 2 (since a register pair holds 16 bits = 2 bytes) before storing the data. Syntax: PUSH rp where rp is a register pair (BC...