PDA

View Full Version : Assembly....



Victor
12-27-2004, 04:32 AM
Do you know any good linux assembly tutorial? for a nobe who don't know assembly at all... ??
I've been looking it for on google but couldn't find anything interesting... what i found were windows/dos tutorials steb-by-step for beginners or how to "migrate" from win/dos assembly to linux assembly...
Thx for links....

Salem
12-27-2004, 04:39 AM
http://www.tldp.org/HOWTO/Assembly-HOWTO/
When searching for Linux things, the word "howto" is a useful search qualifier.

The first link takes you here
http://linuxassembly.org/

kermit
12-27-2004, 09:43 AM
Yeah, check out Programming from the ground up on the site that Salem gave you - there is a link which gets you a download of an e-book - not too shabby..

~/

Scribbler
12-27-2004, 12:20 PM
If you don't mind purchasing a book, then try The Art of Assembly Language (http://www.nostarch.com/frameset.php?startat=assembly) from No Starch!! Press.

Incredibly good book with well presented tutorials which don't leave you scratching your head in confusion. And also uses HLA (High Level Assembly) to migrate you from your favorite compiled language of choice to using pure assembly, which is a definate bonus as it helps you to visually spot and associate common functions and their assembly language counterparts.

And too, I'm a fan of No Starch!! books, so will often take time to plug em :)

Perspective
12-27-2004, 12:50 PM
When searching for Linux things, [...]
on the topic of searching for linux things, try this:
http://www.google.com/linux

Kleid-0
12-27-2004, 04:19 PM
I believe Fortran77 is assembly. If you need the compiler you could go:
apt-get install f77 And then search for a good tutorial {Google: FORTRAN77 Tutorials} (http://www.google.com/search?hl=en&q=FORTRAN77+Tutorial&btnG=Google+Search). And then create your first hello world application in FORTRAN77 {helloworld.f}:
PROGRAM hello
PRINT *,'Hello World!'
END PROGRAM Compile with:
f77 -ffree-form helloworld.f
And I believe that should do it for you now.

Thantos
12-27-2004, 06:05 PM
No Fortran77 is fortran not assembly.

kermit
12-27-2004, 06:12 PM
I believe Fortran77 is assembly. If you need the compiler you could go:
apt-get install f77 And then search for a good tutorial

A little off topic, but are you assuming that everybody who asks a question in the Linux forum is running Debian?

~/

Kleid-0
12-28-2004, 01:46 AM
A little off topic, but are you assuming that everybody who asks a question in the Linux forum is running Debian?
Everyone runs Debian! Fools!
----------------

O.K. back on topic... So you want to learn assembly on Linux? I'm totally ignorant of assembly! I thought FORTRAN77 was assembly or something close, but it's more of a language like C, I see. You're talking stuff like:
mov blah
jmp ack That's cool! Stuff online might not give you that "umph" that you need in learning, try visiting a library to see if they have anything on Assembly, libraries carry a lot of really old books. Good luck!