flat assembler
Message board for the users of flat assembler.

Index > Compiler Internals > How about listing?

Author
Thread Post new topic Reply to topic
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus
for one job i need full listing of compiled program
program contents 10-15 inc's. I can merge it in text redactor, but modules also includes useless, not compiled procs... will be best to crop it...

The best way is create normal Listing, as in tasm/masm. Is it in fasm?

And next bug. One of program generates this:

; BIN2ASM v1.1 file hex dump of: sprites.dat
MarkSpr DB 040h,000h,021h,000h,000h,000h,000h,000h,000h,04Eh,061h,06Dh,065h,020h,068h,065h

......

if I open it in Fasm editor, I'll see only first string "; BIN2ASM v1.1 file hex dump of: sprites.dat". If i type any symbol in and save, file crops. It's abnormal.
Post 23 Mar 2005, 08:29
View user's profile Send private message ICQ Number Reply with quote
Tomasz Grysztar
Assembly Artist


Joined: 16 Jun 2003
Posts: 7724
Location: Kraków, Poland
Tomasz Grysztar
For listing look here: http://board.flatassembler.net/topic.php?t=2709 (however I perhaps have to update it for the fasm 1.60).

For the second problem: perhaps your file contains some EOF marker or zero byte, fasm ignores anything that follows such byte and so the editor also cuts the file in such point, to be consistent with the assembler.
Post 23 Mar 2005, 08:49
View user's profile Send private message Visit poster's website Reply with quote
Zetus



Joined: 03 Jun 2004
Posts: 37
Zetus
Thanks, found "Nul" in this files.

But why is Nul illegal? For EoF it's right, but Nul? May be use Nul as Space? Smile
Post 23 Mar 2005, 11:26
View user's profile Send private message ICQ Number Reply with quote
THEWizardGenius



Joined: 14 Jan 2005
Posts: 382
Location: California, USA
THEWizardGenius
What is this listing thing, and why doesn't anyone ever talk about it?
Post 24 Mar 2005, 23:10
View user's profile Send private message AIM Address Reply with quote
Red Shaya



Joined: 14 Apr 2005
Posts: 5
Red Shaya
I wish I knew. I'm very happy with this listing as I'm experiencing with writing direct machine code and the listing of existing code pieces saves me a lot of time of searching through the Intel "Programmers" books.
Post 14 Apr 2005, 13:19
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-2020, Tomasz Grysztar.

Powered by rwasa.