Tyler Eaves
2004-02-16 06:06:21 UTC
Hi all,
I'm currently embarking on the journey of learning assembly programming.
It is rather foreign to me, as most of my work has been in higher-level
languages like python, with some C. I'm working through a free book I
found online ("Programming from the Ground Up", available at
https://savannah.nongnu.org/projects/pgubook/). It seems to be
decently written from what I can tell, but it uses GNU as for the
assembler. What reading I've done suggests that A: NASM seriously owns
GNUas for any real programming and B: GNU as and NASM are syntactially
incompatible.
Am I correct in this line of reasoning?
Followups:
1:
If yes, how hard is the switch from GNU as to NASM, and should I
attempt to make the switch as quickly as possible?
2:
Is there any online conversion "cheat sheet" that shows equivilant
constructs in both syntaxes?
3:
Any other suggestions for good, free, beginner level x86 assembly
tutorials/books/etc? (Note: Win32/DOS specific stuff is of little
interest to me as I do not access to such a machine)
3b (Semi-OT):
How about PowerPC assembly? My laptop is a G3-equipped mac, and I've
heard that programming in assembly on RISC architectures like PowerPC
is rather a bit easier than on x86. A bit of quick googling didn't
turn up any good tutorial type information however.
Thanks!
I'm currently embarking on the journey of learning assembly programming.
It is rather foreign to me, as most of my work has been in higher-level
languages like python, with some C. I'm working through a free book I
found online ("Programming from the Ground Up", available at
https://savannah.nongnu.org/projects/pgubook/). It seems to be
decently written from what I can tell, but it uses GNU as for the
assembler. What reading I've done suggests that A: NASM seriously owns
GNUas for any real programming and B: GNU as and NASM are syntactially
incompatible.
Am I correct in this line of reasoning?
Followups:
1:
If yes, how hard is the switch from GNU as to NASM, and should I
attempt to make the switch as quickly as possible?
2:
Is there any online conversion "cheat sheet" that shows equivilant
constructs in both syntaxes?
3:
Any other suggestions for good, free, beginner level x86 assembly
tutorials/books/etc? (Note: Win32/DOS specific stuff is of little
interest to me as I do not access to such a machine)
3b (Semi-OT):
How about PowerPC assembly? My laptop is a G3-equipped mac, and I've
heard that programming in assembly on RISC architectures like PowerPC
is rather a bit easier than on x86. A bit of quick googling didn't
turn up any good tutorial type information however.
Thanks!