Jump to content

Empty program: Difference between revisions

m
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}}==
1,489

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.