vbt
Staff member
i'm having some issues,
what would be the correct synthax
just wondering if this is correct :
what would be the correct synthax
in original code :
move =$00f0,r0
in my code :
val1: .long 0x000000f0
mov.l val1,r0
in disassembled code :
! 10002: d0 05 mov.l 0x10018,r0 ! f0
assembler error :
maths.s:42: Error: negative offset
maths.s:42: Error: pcrel too far
just wondering if this is correct :
it references fonctions so is it correct to define longs for that ?in original code :
cnop 0,4
jumptab
dc.l __ashiftrt_r0_0
dc.l __ashiftrt_r0_1
dc.l __ashiftrt_r0_2
dc.l __ashiftrt_r0_3
dc.l __ashiftrt_r0_4
in my code :
.align 4
jumptab:
.long __ashiftrt_r0_0
.long __ashiftrt_r0_1
.long __ashiftrt_r0_2
.long __ashiftrt_r0_3
.long __ashiftrt_r0_4