NASM fails to FAR Jump to specified Address

From: Anish (anish.n_at_lycos.com)
Date: 03/26/04


Date: Fri, 26 Mar 2004 18:28:25 +0000 (UTC)

Part of the BootLoader code i am trying to develop.

The below code is unable to jump the specified address. Address 0x9000
contains my code loaded from floppy. The code at that address has got
the display routine, which is not executed after the jmp instruction.

mov ax,0x0900
mov es,ax
mov bx,0000
jmp 0x0900:0000
or
jmp [es:bx]

Assembler : NASM on Linux
Platform : LINUX Mandrake 8.0 ( Kernel 2.4.22 )
CPU : AMD ATHLON x86

Please anybody can answer at the earliest, it will be helpful for me.



Relevant Pages

  • [2] Lock-free questions ...
    ... {$IFDEF FreePascal} ... MOV EDI, sNum32 ... JMP @@EXIT; ... JMP @@EXIT ...
    (comp.programming.threads)
  • Re: 8031 question
    ... AUXBUF EQU 0; TRICK - BAFER ... BUFFER EQU 100H; PREPARE FOR OUTPUT ... MOV R0,#TEMPDIV; TEMPERATURU CITA SAMO U KRUGU 1 ... JMP EQSEC; ...
    (sci.electronics.design)
  • Re: Which assembler can handle the BIG stuff ?
    ... although I agree that a 16M jump table might be a table looking ... The worst OS DLL that I know of it the kernal and it has 864 entries ... four bytes (offset only) while others are six bytes. ... there is no jmp table in the kernal. ...
    (alt.lang.asm)
  • Re: Which assembler can handle the BIG stuff ?
    ... Here is a sample extract from the Windows kernal... ... >>One entry contains an offset and the other contains an offset and a segment. ... It is a list of pointers, not a jmp table. ... >A jump table is a list of addresses or offsets to jump to. ...
    (alt.lang.asm)
  • Skybucks Big CircleV1
    ... ;author Skybuck Flying ... ;strategy Trying to stay alive with literally a circle of jumps ... mov 50, 3165 ... jmp 511 ...
    (rec.games.corewar)