| |
Higgie
Registered: Apr 2002 Posts: 127 |
Branch too far in 64TASS
hiho!
what does 'Branch too far' mean?
the readme of 64tass says: 'can't relative branch that far'
i understand that sentence but what is the limit then?
and how to deal with the limitation?
sorry for coming up with stupid stuff already known to most of the decent coders here.... ;)
thanx in advance! |
|
... 10 posts hidden. Click here to view all posts.... |
| |
WVL
Registered: Mar 2002 Posts: 902 |
Quote: @higgie: just do it manually. :D I mean, if the compiler complains, simply invert your branch and add a jmp. It's really not that hard.
F.e.
beq farAwayThatComplains
Invert it and make it branch past the jmp:
bne *+3
jmp farAwayThatComplains ; won't complain anymore
Simple as that!
FAIL!
should be
bne *+5
jmp FarAwayThatComplains
:)
Or just use + and -, which is easier imo..
bne +
jmp FarAway
+
|
| |
JackAsser
Registered: Jun 2002 Posts: 2014 |
@WVL: blahblahblahblahblahblalblah. :D |
| |
WVL
Registered: Mar 2002 Posts: 902 |
Quote: @WVL: blahblahblahblahblahblalblah. :D
bah! you just dont understand the power of * ;D |
Previous - 1 | 2 - Next |