Difference between revisions of "84PCE:RAM:D01508"

From WikiTI
Jump to: navigation, search
(Created page with "D01508 - lastEntryStkPtr lastEntryStkPtr == Synopsis == '''Unofficial Name:''' lastEntryStkPtr '''Memory Addr...")
 
Line 1: Line 1:
[[Category:84PCE:RAM:By Address|D01508 - lastEntryStkPtr]] [[Category:84PCE:RAM:By Name|lastEntryStkPtr]]
+
[[Category:84PCE:RAM:By Address|D0150B - lastEntryStkPtr]] [[Category:84PCE:RAM:By Name|lastEntryStkPtr]]
 
== Synopsis ==
 
== Synopsis ==
'''Unofficial Name:''' lastEntryStkPtr
+
'''Unofficial Name:''' lastEntryStk
  
'''Memory Address:''' D01508h
+
'''Memory Address:''' D0150Bh
  
'''Length:''' 3 bytes
+
'''Length:''' 2048 bytes
  
This is a pointer to the next available byte in the user entry stack.
+
This is the start of entry stack (note that the last entry is not in the stack, it is in the program '#')
 +
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.

Revision as of 13:25, 25 May 2016

Synopsis

Unofficial Name: lastEntryStk

Memory Address: D0150Bh

Length: 2048 bytes

This is the start of entry stack (note that the last entry is not in the stack, it is in the program '#') 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.