84PCSE:RAM:8B22

From WikiTI
Revision as of 23:32, 3 April 2013 by Dr. D'nar (talk | contribs) (Created page with '8B22 - asm_prgm_size asm_prgm_size == Synopsis == '''Unofficial Name:''' asm_prgm_size '''Memory Address:''' 8…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Synopsis

Unofficial Name: asm_prgm_size

Memory Address: 8B22

Length: 2 bytes

When an assembly program runs, this stores the size of the program so that the OS knows how much to delete after the program runs. If you're not running from a shell, after copying a stub to scrap RAM, you can use the value in this to delete yourself. Then you can _JForceCmdNoChar without leaking memory. But if you're running from a shell, you're likely to die horribly.