flat assembler
Message board for the users of flat assembler.

Index > DOS > Large filesize a problem?

Author
Thread Post new topic Reply to topic
peter_rk



Joined: 17 Apr 2005
Posts: 13
Location: somewhere in the world?
peter_rk
I've really only made DOS command-style files, I've been nervous to delve into any other type like EXE. Lately, I've been testing FASM and noticed a few disconcerting things. When a jump is too far away, it won't jump.

Is it possible that .COM files are limited in jump size, I believe they are! If so, you do I get around that?
Post 22 Nov 2005, 19:17
View user's profile Send private message Visit poster's website Reply with quote
Matrix



Joined: 04 Sep 2004
Posts: 1171
Location: Overflow
Matrix
well, com file is limited to 64 KBytes, so it is limited a bit, but you can always use jmp far to jump to 32 bit address,
jmp is macine instruction and is not restricted in a com file.
Post 22 Nov 2005, 19:47
View user's profile Send private message Visit poster's website Reply with quote
peter_rk



Joined: 17 Apr 2005
Posts: 13
Location: somewhere in the world?
peter_rk
Thank you, I am idiot as usual... Lazy of me not to look at EXE files for possibility.
Post 25 Nov 2005, 05:38
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-2020, Tomasz Grysztar.

Powered by rwasa.