84PCE:RAM:D01508: Difference between revisions

From WikiTI
Jump to navigationJump to search
No edit summary
Undo revision 11185 by MateoConLechuga (talk)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[Category:84PCE:RAM:By Address|D0150B - lastEntryStkPtr]] [[Category:84PCE:RAM:By Name|lastEntryStkPtr]]
[[Category:84PCE:RAM:By Address|D01508 - lastEntryStkPtr]] [[Category:84PCE:RAM:By Name|lastEntryStkPtr]]
== Synopsis ==
== Synopsis ==
'''Unofficial Name:''' lastEntryStk
'''Unofficial Name:''' lastEntryStkPtr


'''Memory Address:''' D0150Bh
'''Memory Address:''' D01508h


'''Length:''' 2048 bytes
'''Length:''' 3 bytes


This is the start of entry stack (note that the last entry is not in the stack, it is in the program '#')
This is a pointer to the next available byte in the user entry stack.
The first 2 bytes are length of the entry, followed by input string.
2nd from last entry is first in this stack.
 
If you don't care about user friendliness, you can use this for your own RAM purposes. Just be sure to reset numLastEntries whenever you feel like it.

Latest revision as of 15:30, 26 May 2016

Synopsis

Unofficial Name: lastEntryStkPtr

Memory Address: D01508h

Length: 3 bytes

This is a pointer to the next available byte in the user entry stack.