this the procedure for the esc press to exit
i am trying to jump from this proc to the exit to stop game whenever esc is pressed. but it says that escpressed is out of range
proc escpressed
mov ah,1h
int 16h
cmp al,27
je endgame
ret
endp escpressed
(endgame: is located right before the exit)
i get this error
apple1.ASM(86) Relative jump out of range by 021Ah bytes
i think theres a line that should make long jumps possible but i am not sure
i tried putting some code from chat gpt but it didnt work
steven FM is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.