I got told to try and use 'jmp rather than 'call', but 'jmp' is not liking me .. when I jump it doesn't return (so it never exits and not happy days ), but calling returns and exits as normal.
I am happy using 'call' but is there actually a reason I should try and overcome 'jmp' ?
This simple code just shows if when I jmp
it never returns and exits.
_start:
jmp _Print
jmp _Exit
ret
_Exit:
; normal exit
ret
_Print
; print something
ret
also .. I'm running this all in a Linux terminal if that changes anything.