Department of Computer Scien
ce and Information Engineering
National Cheng Kung University, TAIWAN
8051 HANEL
REGISTER BANKS AND STACKStack(cont’)
The storing of a CPU register in the stack is called a
PUSH
¾SP is pointing to the last used location of the stack¾As we push data onto the stack, the SP is incremented by one
This is different from many microprocessors