flat assembler
Message board for the users of flat assembler.

Index > Main > Where is the list of what everything does from mov to dd?

Author
Thread Post new topic Reply to topic
gemurdock



Joined: 10 Feb 2015
Posts: 3
Location: USA
gemurdock
I am very new to assembly, so please forgive the dumbest question which is about to follow, but before I say it I want to let you know something.

I have looked over the documentation that came with flat assembler and I have the 3,500 page Intel instructions for all their processors. Obviously I have not gone through everything exhaustively, but using search I can't seem to find some basic commands. At least I call them commands. I don't know what they are called.

For example: dd and db. I think they are commands to allocate memory for your variables, but not exactly sure.

My question is this: Where can I find a fairly exhaustive list of what everything does from 'mov' to 'dd'??? I can't seem to find this. I have a book on learning assembly as well, but prefer this assembler and have to convert code for this instead of MASM.

Again, sorry for the stupid question.

-Gem

_________________
90AB5H
Post 14 Feb 2015, 05:41
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 17716
Location: In your JS exploiting you and your system
revolution
Perhaps the first thing to realise is that you are conflating the assembler and the instruction set.

The instructions of the CPU (the ISA) are what the Intel manual is giving you. And the fasm manual is where the other things are that are related to the assembler, source code, macros, output formats, OS integration, etc.

So you won't really be able to find such a list as a single resource because of the differing places that they are generated.

Once you have digested the Intel manual (and the AMD manual also) then that will only take you as far as how the CPU works. After that you need to read the fasm manual (and other source code) to determine how to make a program and assemble it for your OS.
Post 14 Feb 2015, 05:57
View user's profile Send private message Visit poster's website Reply with quote
HaHaAnonymous



Joined: 02 Dec 2012
Posts: 1180
Location: Unknown
HaHaAnonymous
[ Post removed by author. ]


Last edited by HaHaAnonymous on 28 Feb 2015, 17:57; edited 1 time in total
Post 14 Feb 2015, 06:05
View user's profile Send private message Reply with quote
l_inc



Joined: 23 Oct 2009
Posts: 881
l_inc
gemurdock
I guess you looked not good enough into the fasm manual, because it describes both the compiler-specific directives such as dd (see 1.2.2. Data Definitions) as well as the CPU architecture specific instructions (see 2.1 The x86 architecture instructions). These are reasonably not on the same list but are still in the same manual.

_________________
Faith is a superposition of knowledge and fallacy
Post 15 Feb 2015, 12:53
View user's profile Send private message Reply with quote
gemurdock



Joined: 10 Feb 2015
Posts: 3
Location: USA
gemurdock
@revolution

Thanks you.

@HaHaAnonymous

What do the instruction sets do? Is this like 'mov' or 'add'?

@I_inc

Yup, I totally missed the data definitions. Thanks for pointing that out! They hid it right in the beginning!

*--------------------------------------------------------------------------------------*

Sorry about that everyone! I should have looked closer.

_________________
90AB5H
Post 15 Feb 2015, 21:11
View user's profile Send private message Reply with quote
DOS386



Joined: 08 Dec 2006
Posts: 1901
DOS386
> I am very new to assembly, so please forgive the dumbest

Welcome to the FASM forum Smile

> have the 3,500 page Intel instructions for all their processors

There is even a book with 4'500 pages Wink

You might want to look into the FAQ http://board.flatassembler.net/topic.php?t=2530 http://board.flatassembler.net/topic.php?p=134818#134818 and the 80386 manual, the latest manuals indeed do fix a few errors, but add a huge amount of junk completely useless for beginners.
Post 02 Mar 2015, 08:40
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. Also on GitHub, YouTube, Twitter.

Website powered by rwasa.