Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
I Need Help With This Error!
#12
(12-29-2021, 11:18 PM)NeoGeoFreak2004 Wrote: Here is the error, so when I try to type in compile.bat into the command prompt, it compiles, but the emulator will not work with the ROM and pops up with an error message. This is the full error: [PC 100003] swi 7 not found. my code is compiling but crashing on the emulator. so that is the error message I am getting

Hey,
you shouldn't execute code below address 0x200000 (and above 0x3FFFFF) as it's the start of ROM address.
That means that your code have either some kind of call or jump or stack overflow that set PC register to a wrong value.

Neopop have a debugger version that can help you to figure out where you come from (you can have the last 10 instructions, or set breatpoint at your crash address and get the last instructions too). Alas, it's great when all your code is assembly, harder when it's C.

This might help to figure out what function send you into oblivion.
Reply


Messages In This Thread
I Need Help With This Error! - by NeoGeoFreak2004 - 07-09-2021, 07:21 AM
RE: I Need Help With This Error! - by Loïc - 07-10-2021, 04:38 AM
RE: I Need Help With This Error! - by sodthor - 07-11-2021, 05:32 AM
RE: I Need Help With This Error! - by sodthor - 11-23-2021, 06:55 AM
RE: I Need Help With This Error! - by KeiDash - 12-29-2021, 11:00 PM
RE: I Need Help With This Error! - by KeiDash - 12-29-2021, 11:49 PM
RE: I Need Help With This Error! - by Loïc - 12-31-2021, 11:13 AM
RE: I Need Help With This Error! - by KeiDash - 12-30-2021, 08:07 PM
RE: I Need Help With This Error! - by sodthor - 02-02-2022, 03:00 AM
RE: I Need Help With This Error! - by KeiDash - 02-21-2022, 05:43 PM
RE: I Need Help With This Error! - by KeiDash - 02-22-2022, 08:44 PM
RE: I Need Help With This Error! - by KeiDash - 02-25-2022, 12:24 AM
RE: I Need Help With This Error! - by sodthor - 03-22-2022, 03:21 AM
RE: I Need Help With This Error! - by sodthor - 03-22-2022, 04:06 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)