Empty program: Difference between revisions
m
→Game Boy Advance
Puppydrum64 (talk | contribs) m (→Game Boy) |
Puppydrum64 (talk | contribs) |
||
Line 135:
<lang ARM_Assembly>ProgramStart:
b ProgramStart ;don't do this on a real game boy, you'll drain the batteries faster than usual.</lang>
Hardware interrupts will not occur if you never enable them, so there is no need to store the interrupt service procedure's address in address $03FFFFFC to prevent a crash. The Game Boy Advance has no "exit" <code>SWI</code> call (the closest is the undocumented hard reset) so this is as close as you can get.
=={{header|ArnoldC}}==
|