0x0000 registers, io, maps 0x0200 v heap

^ stack 0xFFFF

Stack pointer points to the NEXT free value

Stack Operations

  • PUSH an item to the stack - push r[0-31]
  • POP an item from the stack - pop r[0-31]

POP items in the reverse order that they were pushed in.
Also ensure that there are the same number of push and pop statements.