Bluefox815
September 11th, 2008, 12:48 AM
I am having an issue in programs using the jmp, je, etc. instructions. In very large programs, a jmp instruction placed far from the label I wish to jump to causes a compile-time error stating that the local address is out of range (or something similar). I'm using TASM 5.0, is there any way that I can fix this without using a midpoint label to reach all the way to the label I want?
example of midpoint label (what I don't want to do)
start:
...
start_m: ; Here, the label is in range
jmp start
...
jmp start_m ; Here, the label is out of range
example of midpoint label (what I don't want to do)
start:
...
start_m: ; Here, the label is in range
jmp start
...
jmp start_m ; Here, the label is out of range