5.8.11 TOS
Contents of the stack pointed to by the STKPTR register. To access the
stack, adjust the value of STKPTR, which will position TOSH:TOSL, then read/write to
TOSH:TOSL.
Note: The individual bytes in this multibyte register can be accessed with the following
register names:
- TOSH: Accesses the high byte TOS[15:8]
- TOSL: Accesses the low byte TOS[7:0]
Name: | TOS |
Offset: | 0xFEE |
Bit | 15 | 14 | 13 | 12 | 11 | 10 | 9 | 8 | |
TOS[15:8] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Bit | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 | |
TOS[7:0] | |||||||||
Access | R/W | R/W | R/W | R/W | R/W | R/W | R/W | R/W | |
Reset | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |