flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > Proc's don't work when outputting binary?

Author
Thread Post new topic Reply to topic
Luke Skywalker



Joined: 07 Jan 2005
Posts: 1
Location: India
Luke Skywalker 07 Jan 2005, 08:37
Hi,

I was writing a procedure using the 'proc' instruction with the ouput set to plain binary, however the assembler gave an error at the 'proc' keyword, saying that it is an illegal instruction.

Is there a workaround? Am I doing something wrong?

FYI, the code looks something like this:

format binary

proc Hello
int 0x10
endp

_________________
A ship on the beach is a lighthouse to the sea
Post 07 Jan 2005, 08:37
View user's profile Send private message Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc 07 Jan 2005, 11:04
proc and endp are macros; not x86 instructions, so you'll need to include the appropiate macro package.
Post 07 Jan 2005, 11:04
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-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.