flat assembler
Message board for the users of flat assembler.

Index > Main > Where can i find Good Tutorials About Assembly Programming?

Goto page 1, 2  Next
Author
Thread Post new topic Reply to topic
thefool



Joined: 13 Jul 2004
Posts: 13
Location: Denmark
thefool
Hi there Cool

I have been playing with assembler for a bit time now, and finding out wich
assembler i would like to use, and the choise falled on FASM.

I downloaded the tutorial, and i will begin reading it later.
I just wanted to know, if the tutorial is enough to learn all the basics of asm? I also downloaded the FASM for Windows package, and also the DOS package. I got the fasmW working, by adding the path in the fasmw.ini file.

Now, i wanted to know how you learned assembler. Any great tutorials out there that i need more than the official Fasm tutorial? What did you use?

Thanks in advance,
Thefool Very Happy

[TopicEdit=from:"asm newbie" to:"Where can i find Good Tutorials About Assembly Programming?"]Matrix[/TopicEdit]
Post 13 Jul 2004, 19:42
View user's profile Send private message Reply with quote
decard



Joined: 11 Sep 2003
Posts: 1092
Location: Poland
decard
take a look at vid's TAJGA tutorial: http://www.decard.net/tajga.php,
also, I have collected some links for newbies: http://www.decard.net/links.php,
Post 13 Jul 2004, 20:11
View user's profile Send private message Visit poster's website Reply with quote
Dragontamer



Joined: 24 Aug 2003
Posts: 84
Dragontamer
I mainly used the Art of Assembly, both the obsolete and new version for HLA.

found here:
http://webster.cs.ucr.edu/

Neither may be Fasm, but all you need to know is the basics, and this book does a good job with that.

Also Paul Carter's : http://www.drpaulcarter.com/pcasm/
PC Assembly Language uses Nasm, which is almost the same as Fasm.
Post 13 Jul 2004, 20:12
View user's profile Send private message Reply with quote
thefool



Joined: 13 Jul 2004
Posts: 13
Location: Denmark
thefool
thanks very much both.
I have downloaded a .zip copy off all 3 tutorials. Now i have a little to study Smile

Thanks again.
Post 13 Jul 2004, 20:29
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
i suggeast you to download any ASM tutorial you find, download as much examples as possible, and play with it all + try some experimenting yourself.
Post 14 Jul 2004, 18:54
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt
You can also download my directx examples in the windows forum, labeled 'Windows game programming for dummies' Cool .
MadMatt
Post 16 Jul 2004, 06:18
View user's profile Send private message Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance
Well i have readen the TAJGA tutorials over 3 times ans stiil dont get a thing...
Post 19 Jul 2004, 11:36
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
tom tobias



Joined: 09 Sep 2003
Posts: 1320
Location: usa
tom tobias
Smile Embrance, never mind. Ignorance is widespread. You are not alone. Ok, so you have read Vid's tutorial. Good. Now, step by step, what did you not understand? Give us a page number, or a section number, and a short excerpt or quote from the tutorial, and explain to us, what it is that you find perplexing. Start at the beginning, and work steadily toward the end. What you may discover, is that you are not the only one who has difficulty understanding the FASM documentation. Writing an instructional guide is VERY DIFFICULT. The author must be able to envision difficulties he/she did not himself/herself experience. If one looks at the world wearing ONLY blue spectacles, it may be difficult to detect subtle color changes. So, help us out here, tell us EXACTLY what it is that is problematic for you. regards, tom
Post 19 Jul 2004, 18:08
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
this is mainly assembly tutorial, not FASM tutorial, and it is very far to be complete. Unfortunately it seems there still isn't any tutorial for FASM language. But anyway, FASM is still best assembler, and it is easy to use some MASM tutorial for learning FASM, these languages are very similiar, except

MASM "mov eax,[name]" is FASM "mov eax,[name]" it is same here
MASM "mov eax,name" is FASM "mov eax,[name]"
MASM "mov eax,offset name" is FASM "mov eax,name

Also look for IczLions tutorial if you want to learn windows assembly.


Last edited by vid on 19 Jul 2004, 18:19; edited 1 time in total
Post 19 Jul 2004, 18:13
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
Quote:

MASM "mov eax,offset name" is FASM "mov eax,[name]

Don't you mean FASM:"mov eax, name"? Smile
[edit]
No worry, typos happens to us all


Last edited by f0dder on 19 Jul 2004, 18:22; edited 1 time in total
Post 19 Jul 2004, 18:18
View user's profile Send private message Visit poster's website Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
yes, sorry, i will fix it

tom tobias descried it greatly. You will also help me to improve hard-to-comprehend parts for other users.
Post 19 Jul 2004, 18:19
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
pelaillo
Missing in inaction


Joined: 19 Jun 2003
Posts: 878
Location: Colombia
pelaillo
Embrance,
there is a windows' specific fasm tutorial but is under construction. Find it here:
http://as.modshack.co.uk/tut01en.html

And please report any obscure or confussing things. With the help of everybody we could get improved (and translated) all Fasm documentation.
Post 19 Jul 2004, 18:58
View user's profile Send private message Yahoo Messenger Reply with quote
f0dder



Joined: 19 Feb 2004
Posts: 3170
Location: Denmark
f0dder
You might want to have a look at MadWizard's "Win32asm basic tutorials", http://www.madwizard.org/dl.php?file=tutors.win32asm - it does a pretty good job at explaining the basics (masm style, but again - not too hard to translate)
Post 19 Jul 2004, 19:03
View user's profile Send private message Visit poster's website Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance
I will check the tutorials,and post later the problems with the othe r tutorial!
Post 20 Jul 2004, 08:36
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
Embrance



Joined: 14 Mar 2004
Posts: 116
Location: Greece
Embrance
This tutorials seemed quite nice.Didnt bothered to read it all due to some things i gotta do.
However here are several things you have in ind to make a GOOD tutorial...

1)Make it simple to read.
Dont start maiong apps...
Exaplin some stuff...
Explain how a PC works and what can ASM do...
SHow how someone could print sometext into the screen,,
How to get input and such.
Explain every commands,dirctives etc.
Not just "push" does that or this,but give several SIMPLE examples on how using it.
my 2 cents! Wink



pelaillo wrote:
Embrance,
there is a windows' specific fasm tutorial but is under construction. Find it here:
http://as.modshack.co.uk/tut01en.html

And please report any obscure or confussing things. With the help of everybody we could get improved (and translated) all Fasm documentation.
Post 21 Jul 2004, 19:36
View user's profile Send private message MSN Messenger ICQ Number Reply with quote
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist
Wouldn't it be good to have a tutorial designed specifically for people coming from a specific HLL, like C or Pascal? My guess is that most of the people here didn't start right away with FASM, so all the tutorials which are designed for people who have never programmed before are a bit of a pain to wade through.

A nice tutorial would be one which shows code segments in C and shows how the same thing would be done in FASM, like so:

Code:
//this is in C
a=b;
    


Code:
;this is in FASM
mov [a],[b];
    


(I hope I did that right)
Post 22 Jul 2004, 23:39
View user's profile Send private message Visit poster's website Reply with quote
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist
Here's (very basically) what I feel I need to know to be relatively proficient at using a language:

1. How to create, access, and manipulate variables.
2. How to output text to the screen.
3. How to input text from the keyboard.
4. How to control program flow (in FASM, jumps).
5. How to read and write to files.
6. How to parse and manipulate strings.

Here's what I feel I need to know to be very good at a language:
7. How to output graphics from a file.
8. How to draw graphics.
9. How to use the GUI fully.
10. How to make programs secure.
11. How to access databases, networks, and the internet.
12. How to do pauses (pauses to wait for input, pauses for a certain amount of time, pauses to loop a certain action until a certain key is hit, etc.).

By these standards, I'm not "very good" at any language, (though I'm close with Java and C++). In FASM, the only parts that I am functional in are 1 and 4. I need to be able to do at least 1-6 by the end of August, because I signed up to do an independent study course in FASM (it's amazing what I put myself through for 5 measly credits). I'll be expected to know the language passably by then, and my first project will be to create a compiler for a rudimentary HLL.
Post 23 Jul 2004, 00:06
View user's profile Send private message Visit poster's website Reply with quote
mike.dld



Joined: 03 Oct 2003
Posts: 235
Location: Belarus, Minsk
mike.dld
you meant
Code:
push dword[b] ; or maybe word
pop  dword[a]    

or
Code:
mov eax,[b] ; or maybe ax, al
mov [a],eax    
Post 23 Jul 2004, 00:08
View user's profile Send private message Visit poster's website ICQ Number Reply with quote
Imagist



Joined: 13 Jun 2004
Posts: 114
Location: Pennsylvania (USA)
Imagist
Eh? I thought mov took the second parameter and copied it into the first. If it doesn't then what does it do?
Post 23 Jul 2004, 00:31
View user's profile Send private message Visit poster's website Reply with quote
crc



Joined: 21 Jun 2003
Posts: 637
Location: Penndel, PA [USA]
crc
You can't use MOV to copy one memory location's value directly to another memory location. It does copy the second parameter to the first, but it's can only handle register->register, memory->register, register->memory, or value->register type operations.
Post 23 Jul 2004, 00:47
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  
Goto page 1, 2  Next

< 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 YouTube, Twitter.

Website powered by rwasa.