flat assembler
Message board for the users of flat assembler.

Index > Main > extrn

Author
Thread Post new topic Reply to topic
dosin



Joined: 24 Aug 2007
Posts: 337
dosin 08 Jan 2008, 17:03
I was looking in the Fasm manual.. Does it support extrn...
I found the extrn in the manual however:

I get an error...


error: illegal instruction.
Post 08 Jan 2008, 17:03
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 08 Jan 2008, 17:09
But are you using "format COFF", "format MS COFF" or "format ELF"?
Post 08 Jan 2008, 17:09
View user's profile Send private message Reply with quote
dosin



Joined: 24 Aug 2007
Posts: 337
dosin 08 Jan 2008, 17:12
format MS COFF
Post 08 Jan 2008, 17:12
View user's profile Send private message Reply with quote
LocoDelAssembly
Your code has a bug


Joined: 06 May 2005
Posts: 4624
Location: Argentina
LocoDelAssembly 08 Jan 2008, 17:23
Code:
format MS COFF

extrn loco    


Compiles at 100 bytes with FASMW 1.67.25

[edit]Post minimal code showing the error[/edit]
Post 08 Jan 2008, 17:23
View user's profile Send private message Reply with quote
Plue



Joined: 15 Dec 2005
Posts: 151
Plue 09 Jan 2008, 14:26
Maybe you typed extern instead of extrn? It happens to me all the time.
Post 09 Jan 2008, 14:26
View user's profile Send private message 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-2023, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.