Message-Id: <199703050036.AAA20319@mx2.rmplc.co.uk> From: "Liam" To: Subject: Jumping around memory Date: Wed, 5 Mar 1997 00:33:56 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit This my sound rather stupid but Can somone tell me how to do a FAR jump with NASM, it just keeps spitting out errors. This is the code I'm trying to use: [BITS 16] [ORG 0x100] _main: mov si, text ; get address of message call 8000h:5bh ; call tsr print routine mov ax, 4c00h int 21h ; exit text: db 'Dummy Text',0 It jumps to a tsr in memory but when it returns IP is only restored so it doesnt get back? CS still contains 8000h. Cheers Liam