T.I.M | ISA Specification
|
Address: 0001
, Memonic: SP
Stores the address of the top element of the stack. This means that when loading from memory the value in the stack pointer, we get the top element. When pushing to the stack, the stackpointer is first decremented and we then store to that decremented address.
The initial value of the stack pointer after reset is undefined.
This register is 32 bits wide.
The contents are treated as 4-byte aligned unsigned memeory addresses.
Can be read by:
Can be written by: