#9848 - fessor - Tue Aug 19, 2003 10:39 pm
Hi all!
after having follow GBAGuy's tuts for a few days, i decidede to switch to GAS ( since Goldroad isnt updated anymore )
BUT.. it has turned out to be the nightmare of my LIFE...
as an old amiga asm coder ( way to many years ago ) i didn't figure this would be too hard to learn, but anyways here goes...
-- start test.s --
.TEXT
.ARM
.ALIGN
start:
ldr r1,=0x4
infi:
b infi
-- end test.s --
basic code really .. just puts 0x4 in r1, and then loops forever... or so i thought .....
when running in VisualBoyAdvance, the disassembler window just tells me that im NOT branching .. but overrunning into random mem/rom ..
wtf ??
( with a similar code in goldroad, everything just works fine )
im so lost....
..fessor..
after having follow GBAGuy's tuts for a few days, i decidede to switch to GAS ( since Goldroad isnt updated anymore )
BUT.. it has turned out to be the nightmare of my LIFE...
as an old amiga asm coder ( way to many years ago ) i didn't figure this would be too hard to learn, but anyways here goes...
-- start test.s --
.TEXT
.ARM
.ALIGN
start:
ldr r1,=0x4
infi:
b infi
-- end test.s --
basic code really .. just puts 0x4 in r1, and then loops forever... or so i thought .....
when running in VisualBoyAdvance, the disassembler window just tells me that im NOT branching .. but overrunning into random mem/rom ..
wtf ??
( with a similar code in goldroad, everything just works fine )
im so lost....
..fessor..