Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in ROM Hacking. |
Acmlm's Board - I3 Archive - ROM Hacking - A bit of help with THUMB and jumps? | New poll | | |
Pages: 1 2 | Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Zeld Red Paragoomba Since: 11-05-06 Last post: 6288 days Last view: 6285 days |
| ||
On that note, would it be possible to simplify code by taking out unneeded comparisons in cases where previous operations have altered the flags accordingly? I never tried it in thumb, but I've seen it used in ARM a lot (what with just about every operation in ARM being able to have conditions, it's no wonder). | |||
HyperHacker Star Mario Finally being paid to code in VB! If only I still enjoyed that. <_< Wii #7182 6487 4198 1828 Since: 11-18-05 From: Canada, w00t! My computer's specs, if anyone gives a damn. STOP TRUNCATING THIS >8^( Last post: 6285 days Last view: 6285 days |
| ||
Yes, you should see things like this all the time (using Z80 as an example because I know it):
DEC A JR NZ, somewhere LD A,(HL) AND A ;a Load instruction on Z80 doesn't update the flags JR Z, somewhere ARM even has the ability to choose whether an instruction will update the flags. |
Pages: 1 2 | Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - ROM Hacking - A bit of help with THUMB and jumps? | | |