flat assembler
Message board for the users of flat assembler.

Index > Main > Cheatsheet, Point me to the right place please

Author
Thread Post new topic Reply to topic
bteddy1



Joined: 11 Mar 2019
Posts: 9
bteddy1 11 Mar 2019, 05:26
I am a newbie to FASM. As old as it is (FASM), I can not find a cheat sheet with Instruction syntax, directives, Data definitions, Constants and labels etc...
Not even a list of commands, directives and other supported things.

Is there anything like that?

Something that shows a short blurb of How it starts, what it should/could contain, how it ends.
time_txt db 'Display time YES NO'
sys_stack dd 0x50000
pros_list dd 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20

Point me to the right place please.

Thank You
Post 11 Mar 2019, 05:26
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 11 Mar 2019, 05:59
The instruction syntax is Intel, as you find it given in the Intel manual.

But the examples given in the download is the place to start getting a feel for things. And of course the fasm.pdf manual has all the details.
Post 11 Mar 2019, 05:59
View user's profile Send private message Visit poster's website Reply with quote
bteddy1



Joined: 11 Mar 2019
Posts: 9
bteddy1 11 Mar 2019, 07:05
But the syntax is not strictly INTEL. There is a lot of things that are incompatible in FASM. How /where structures or defined, how labels/constants or defined. Creating arrays etc.... I am not finding this.
Post 11 Mar 2019, 07:05
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20363
Location: In your JS exploiting you and your system
revolution 11 Mar 2019, 07:09
Have a look at the examples files. They come with the download.
Code:
; fasm example of writing simple EXE program

format MZ

        push    cs
        pop     ds

        mov     ah,9
        mov     dx,hello
        int     21h

        mov     ax,4C00h
        int     21h

hello db 'Hello world!',24h
    
Post 11 Mar 2019, 07:09
View user's profile Send private message Visit poster's website Reply with quote
guignol



Joined: 06 Dec 2008
Posts: 763
guignol 11 Mar 2019, 10:22
Another pdiddy teenage girl came along.
Post 11 Mar 2019, 10:22
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-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.