Reply 60 of 61, by BloodyCactus
- Rank
- Oldbie
keenmaster486 wrote on 2025-06-04, 21:33:In any case what I need is a jmp instruction to a label that is not limited to +/- 127.
then its a normal jmp (3 bytes) the assembler should choose the best one based on the distance of the jump.
;; wasm -ms -o test.asm
;; wlink file test.obj name test.exe
_CODE segment 'CODE'
start:
xor ax,ax
jmp mylabel
mov ax,1
mylabel:
mov ah,0x4C
int 0x21
_CODE ends
end
works for me. no assembly errors.
--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--