
THE 8051 MICROCONTROLLER: THE PROGRAMMER’S PERSPECTIVE 495
iv) Keep in mind that for a stack, what is pushed in last is what can be popped out fi rst.
v) e second pop operation copies the stack top contents to A.
Note ere is no need to use the stack to copy the contents of one register to another.
e program here uses this method onl
y to illustrate the working of a stack.
13.6 | Processor Status Word (PSW)
is is a register with address D0H, which has the conditional fl ags, and also contains
the bits that allows the switching of register banks, see Figure 13.12.
is register (like many other SFRs), is bit addressable, meaning that ...