Difference between revisions of "84PCSE:RAM:8B22"

From WikiTI
Jump to: navigation, search
(Created page with '8B22 - asm_prgm_size asm_prgm_size == Synopsis == '''Unofficial Name:''' asm_prgm_size '''Memory Address:''' 8…')
 
m (You never know...)
 
Line 3: Line 3:
 
'''Unofficial Name:''' asm_prgm_size
 
'''Unofficial Name:''' asm_prgm_size
  
'''Memory Address:''' 8B22
+
'''Memory Address:''' 8B22h
  
 
'''Length:''' 2 bytes
 
'''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.
 
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.

Latest revision as of 18:36, 3 April 2013

Synopsis

Unofficial Name: asm_prgm_size

Memory Address: 8B22h

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.