• Welcome to Smashboards, the world's largest Super Smash Brothers community! Over 250,000 Smash Bros. fans from around the world have come to discuss these great games in over 19 million posts!

    You are currently viewing our boards as a visitor. Click here to sign up right now and start on your path in the Smash community!

[Dolphin] Illegal Instruction in Code

wolverine3196

Smash Rookie
Joined
Jan 1, 2016
Messages
2
Hey there,

I'm looking at Melee(1.02)'s code in the debug version of Dolphin, and see that some of the instructions listed are (ill), which I assume means illegal operations. For example:


What's this about?
 

flieskiller

Smash Journeyman
Joined
Jan 3, 2013
Messages
426
Hey there,

I'm looking at Melee(1.02)'s code in the debug version of Dolphin, and see that some of the instructions listed are (ill), which I assume means illegal operations. For example:


What's this about?
If I'm not mistaken, these are parts of code that aren't read like the DOL, but are information read and written as RAM.
 

wolverine3196

Smash Rookie
Joined
Jan 1, 2016
Messages
2
  1. Is it safe to assume that these "instructions" won't ever be executed?
  2. If an illegal instruction is executed, what happens? Crash?
  3. Will these addresses with illegal instructions ever be written to, to change them to legal instructions?
Thanks!
 

flieskiller

Smash Journeyman
Joined
Jan 3, 2013
Messages
426
  1. Is it safe to assume that these "instructions" won't ever be executed?
  2. If an illegal instruction is executed, what happens? Crash?
  3. Will these addresses with illegal instructions ever be written to, to change them to legal instructions?
Thanks!
1. Yes, it's safe to assume that
2. You can test that yourself
3. The DOL never gets edited by the program itself, so it will never go "out of bounds" and will stay in the DOL part.
 
Top Bottom