Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in Programming. |
Acmlm's Board - I3 Archive - Programming - ARM7 Help | New poll | | |
Add to favorites | Next newer thread | Next older thread |
User | Post | ||
interdpth Mole MZM rapist Since: 11-18-05 Last post: 6430 days Last view: 6430 days |
| ||
Ok, i'm trying to do an Assembly hack, for this game i'm working on.
The assembler i'm trying to use it GoldRoad 1.7 It's fine except it won't recognize push opcodes or LSL, or ASR's or Pop's I like to leave as much of the code I use intact. And I tried the assembler from devkitpro. Code was completely different from my disassembly. So anyone mind helping me out and telling me what I should try or something? Thanks abunch! |
|||
Zeld Red Paragoomba Since: 11-05-06 Last post: 6434 days Last view: 6431 days |
| ||
Ouch. This is another reason I fail at using an assembler. I continue scripting stuff by hand...it actually doesn't slow me down much at all, considering how well I've memorized most of the map of opcode/operand bits for thumb opcodes. Every now and then I'll forget a little and type in a 2 to use register 2 as an operand and end up using register 4, but you only have to type 4 numbers to type a whole opcode (assuming you're working in thumb, which you probably are most, if not all of the time). Can't be that much worse than getting the assembler to work, can it?
I haven't even gotten along with goldroad long enough for it to show me that it knows what "add r0, r0, r1" means. Also, that thing about devkit pro making the assembly completely different...what was different about it? Was it like, "devkit tried to optimize my assembly for me" different or "what the hell is this?" different? |
|||
interdpth Mole MZM rapist Since: 11-18-05 Last post: 6430 days Last view: 6430 days |
| ||
Actually I found out how to work with Devkit Pro and with a simple batch script. I got it to compile my code
Although I really wish I new how to manually decode a BL instruction to get the offset it points too to change it but if you want to use an assembler like devkitpro here's my batch script arm-eabi-as.exe -g -mcpu=arm7tdmi -mthumb-interwork -o file.elf file.s arm-eabi-objcopy.exe -O binary -S file.elf file.bin pause |
|||
Dwedit Rope フクト オン フォニクス Since: 11-17-05 From: Chicago! Last post: 6432 days Last view: 6431 days |
| ||
NO$GBA can do arm reassembling, but it's not free. | |||
interdpth Mole MZM rapist Since: 11-18-05 Last post: 6430 days Last view: 6430 days |
| ||
I have the $15 dollar version of no$gba I bought it myself, but alas after it reassembles it won't save a ROM to disk |
Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - Programming - ARM7 Help | | |