flat assembler
Message board for the users of flat assembler.

Index > Main > Bug in version 1.51? jmp m16:32

Author
Thread Post new topic Reply to topic
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 15 Feb 2004, 15:31
Hi Privalov,

Assembling "jmp 0x0008:0x10000" in 16-bit mode results in an error ("value out of range")... Isn't this supposed to result in "db 66h,0EAh,00h,00h,01h,00h,08h,00h"??? Confused

Regards,
Tommy
Post 15 Feb 2004, 15:31
View user's profile Send private message Visit poster's website Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard 15 Feb 2004, 15:43
I think it is a proper behaviour, as ip is only 16-bit in real mode (I don't know what this instruction would do, maybe it could be useful in unREAL/Flat Real Mode?).

However you can still force FASM to generate this code:
Code:
jmp pword 0x0008:0x10000    


regards
Post 15 Feb 2004, 15:43
View user's profile Send private message Visit poster's website Reply with quote
Tommy



Joined: 17 Jun 2003
Posts: 489
Location: Norway
Tommy 15 Feb 2004, 15:57
Okey, thanks! I agree! Wink
Post 15 Feb 2004, 15:57
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.