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,axjmp mylabelmov ax,1mylabel:mov ah,0x4Cint 0x21_CODE endsend
works for me. no assembly errors.
--/\-[ Stu : Bloody Cactus :: [ https://bloodycactus.com :: http://kråketær.com ]-/\--