Skip to main content
GameDev.net gamedev.net
🔒 Locked

Assembly syntax

Started by NovaStorm May 9, 2004 at 3:25 PM 4 replies 400+ views
Original Post
NovaStorm
NovaStorm
I was just wondering, is there as many keywords in Assembly(not HLA) as there are in C/C++? I mean, is there as much syntax to memorize?
[insert inspirational quote here]
anubisX
anubisX
the keywords are more, not sure how many instructions x86 has exactly, but it''s hardly comparable since there is no real syntactical rules like in c because the asm instructions map directly to machine instructions the cpu understands
Monder
Monder
You don''t really need to memorize much, there''s basically no rules (unlike in c or c++). As for learning the opcodes themselves you''ll remeber the common ones and there''s always the intel manuals for the ones that you can''t remember.
ZedFx
ZedFx
There are two manuals full of instructions for the pentium4,
so how many opcodes is that?
NovaStorm
NovaStorm
Ive got another question(kinda off topic): does anyone know how to make DevC++ generate readable Assembly files (so i can see the assembly code it generates for hello world)?

[insert inspirational quote here]
[insert inspirational quote here]
doynax
doynax
> does anyone know how to make DevC++ generate readable Assembly files?
gcc -S helloworld.c

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.