Can it be done In standard ASM? I don't know Thumb ASM yet...
Can it be done In standard ASM? I don't know Thumb ASM yet...
Uh,Code:ldr r3,TimeAddress ldr r4,[r3] ldr r0,IOKeys ldrh r0,[r0] mov r1,#0x11 lsl r1,#4 CheckForward: tst r0,r1 beq Forward add r1,r1 tst r0,r1 bne Exit sub r4,#4 Forward: add r4,#2 str r4,[r3] Exit:bx lr IOKeys: .long 0x4000130 TimeAddress: .long 0x21ECD84Notice what I did?Code:023FF090 012FFF11 E0000000 00000044 E59F3038 E5934000 E59F002C E1D000B0 E3A01011 E1A01201 E1100001 0A000003 E0811001 E1100001 1A000002 E2444004 E2844002 E5834000 E12FFF1E 04000130 021ECD84 00000000 023FF090 E3520003![]()
Yup
Thumb isn't very different from standard, except some things are limited
Just try making a regular ASM code then add the convert part and the .arm at the end
if it gives you problems, look closely at the error output and do what it says, pretty soon you'll know what you can and can't do in thumb (that's how i learned)
Thumb has no differance between "regular ASM" (properly known as ARM in this case..) its just thumb does not allow some of the things ARM does. Dragon, if you can send me which registers are used for which for thumb (as I dont use it enough to bother..) later on today it would be appreciated.
Say what you mean, mean what you say, and let your actions speak for you.
I don't think it will, but does this work on wifi for other players?
Works only for you.
Say what you mean, mean what you say, and let your actions speak for you.