Register | Login | |||||
Main
| Memberlist
| Active users
| Calendar
| Chat
| Online users Ranks | FAQ | ACS | Stats | Color Chart | Search | Photo album |
| |
0 users currently in SMW Hacking. |
Acmlm's Board - I3 Archive - SMW Hacking - So You Wanna Learn ASM [ASM howto] | New poll | | |
Pages: 1 2 3 4 | Add to favorites | Next newer thread | Next older thread |
User | Post | ||
Sukasa Birdo Not quite as active as before. Xkeeper supporter Xk > ||bass I IP Banned myself! Twice! Since: 11-17-05 From: Somewhere over there Last post: 6284 days Last view: 6283 days |
| ||
break = branch for me
And yes, BEQ $00 would beak to the very next instruction, as you said. |
|||
Sparx Waddle Doo Since: 11-18-05 From: San Diego Last post: 6296 days Last view: 6283 days |
| ||
Ok, I get it now. As would $01 go 2 after the $01 and so on. Thanks for the help with that, I was wondering why all of my custom blocks would just screw up | |||
Sukasa Birdo Not quite as active as before. Xkeeper supporter Xk > ||bass I IP Banned myself! Twice! Since: 11-17-05 From: Somewhere over there Last post: 6284 days Last view: 6283 days |
| ||
You're welcome
BTW, can you send me any blocks you make that you think would be good for inclusion in BTO? I'd appreciate it muchly. |
|||
Sparx Waddle Doo Since: 11-18-05 From: San Diego Last post: 6296 days Last view: 6283 days |
| ||
Oh, sure. You've made it so that I can, I just have to re-code them and stuff so they work. I had so many blocks I was going to make =) | |||
C:/DOS/RUN Goomba Since: 12-07-06 Last post: 6301 days Last view: 6304 days |
| ||
Hey, can you teach us how to do this in hexadecimal? Because I understood the tutorial, but I can't find a compiler for windows that works.
Edit: I may have found a ASM compiler that works. It is called FASM. Edit2: No, it does not work. (edited by C:/DOS/RUN on 01-25-07 06:13 PM) (edited by C:/DOS/RUN on 01-25-07 06:26 PM) |
|||
Sukasa Birdo Not quite as active as before. Xkeeper supporter Xk > ||bass I IP Banned myself! Twice! Since: 11-17-05 From: Somewhere over there Last post: 6284 days Last view: 6283 days |
| ||
Hm, X816ii2F works fine for me
Okay... It's mostly pretty easy. I'm going to show you how to do this in hex: LDA #$02
Okay, so this is how you'd do the first one: A9 02 Now, A9 is the hex version of LDA #$__ It can be LDA #$xx or LDA #$xxxx, depending on the processor bit width for the accumulator. 02 in that represents #$02. No biggie there. then comes STA $7E0019. Pay close attention! 8F 19 00 7E 8F is, IIRC (I'm tired right now), STA $xxxxxx 19 00 7E is the address to store to. see how it's order is reversed? All numbers in 65c816 ASM are like that. Thus, 19 00 7E becomes 7E 00 19 when not reversed. Lastly, RTS. 60 this is because 60 is RTS in hex, and there are no extra numbers to be had with this command. |
|||
Kailieann Since: 11-18-05 Last post: 6283 days Last view: 6283 days |
| ||
Originally posted by Pointlessly long name 85 19 |
|||
Sukasa Birdo Not quite as active as before. Xkeeper supporter Xk > ||bass I IP Banned myself! Twice! Since: 11-17-05 From: Somewhere over there Last post: 6284 days Last view: 6283 days |
| ||
Well, yeah. The thing is, I wanted to draw a direct line between the 24-bit text address and the hex.
besides, I always use 24-bit addresses anyways |
Pages: 1 2 3 4 | Add to favorites | Next newer thread | Next older thread |
Acmlm's Board - I3 Archive - SMW Hacking - So You Wanna Learn ASM [ASM howto] | | |