flat assembler
Message board for the users of flat assembler.

Index > Main > Why the listing is nearly unintelligible?

Author
Thread Post new topic Reply to topic
batbelt



Joined: 15 Mar 2013
Posts: 1
Location: San ANtonio, TX, US, Sol-3
batbelt 15 Mar 2013, 23:34
Downloaded fasmw17003 for windows onto XP. Set INCLUDE and built Tools/Win32/Listing.Exe. Here's the source fragment:

Code:

        format binary
        use16
        org     07C00h
ipl:    jmp     @f
        nop
@@:     jmp 00000h:@f
@@:     cld
        cli
        push    CS
        pop     SS
        int     018h
    


Here's the commands:

S:\_\Projs\TashaPointOh\Imp\flat-assembler_1-70-03\fasmw17003\fAsm swaparty.asm swaparty.bin

S:\_\Projs\TashaPointOh\Imp\flat-assembler_1-70-03\fasmw17003\TOOLS\WIN32\Listing swaparty.fas swaparty.lst

and here's the listing fragment:

Code:
        format binary
                                                                        use16
                                                                        org     07C00h
                                                                g       07C00h
                                                                :       jmp     @f
                                                                jmp     @f
                                                                
00000000: EB 01                                                 @:      jmp 00000h:@f
00000002: 90                                                    000h:@f
                                                                f
00000003: EA 08 7C 00 00                                        :       cld
                                                                sh      CS
00000008: FC                                                    
                                                                        SS
                                                                S
                                                                
                                                                nt      018h
    


I think I've done my due diligence (manual, forum, google). I do not understand why the listing is nearly unintelligible. I do not know what I am doing wrong. I do not like this feeling. Please show me the error of my ways.
Post 15 Mar 2013, 23:34
View user's profile Send private message Reply with quote
comrade



Joined: 16 Jun 2003
Posts: 1140
Location: Russian Federation
comrade 16 Mar 2013, 05:07
Maybe you should use CASM Smile
Post 16 Mar 2013, 05:07
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger ICQ Number Reply with quote
baldr



Joined: 19 Mar 2008
Posts: 1651
baldr 16 Mar 2013, 07:32
batbelt,

Well, I have 1.70.03 in library. It compiles and generates listing just fine:
Code:
                                        format binary
                                        use16
                                        org     07C00h
00000000: EB 01                 ipl:    jmp     @f
00000002: 90                            nop
00000003: EA 08 7C 00 00        @@:     jmp 00000h:@f
00000008: FC                    @@:     cld
00000009: FA                            cli
0000000A: 0E                            push    CS
0000000B: 17                            pop     SS
0000000C: CD 18                         int     018h    
I've used "-b 6" option to make listing narrower.

If that effect persists, you may host archive with your fasm 1.70.03 sources and binaries, then post link here. Probably we can solve the case.
Post 16 Mar 2013, 07:32
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.