Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

NovaStorm

Assembly syntax

This topic is 5307 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
There are two manuals full of instructions for the pentium4,
so how many opcodes is that?

Share this post


Link to post
Share on other sites
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]

Share this post


Link to post
Share on other sites
> does anyone know how to make DevC++ generate readable Assembly files?
gcc -S helloworld.c

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!