Post Reply 
Assembly code [boring blog post]
Author Message
ZiNgA BuRgA
Smart Alternative

Posts: 17,022.2988
Threads: 1,174
Joined: 19th Jan 2007
Reputation: -1.71391
E-Pigs: 446.1274
Offline
Post: #2
RE: Assembly code [boring blog post]
If you know programming, then it would make assembly easier.  It's a very basic language - you probably don't need much of a tutorial on it.
Basically, it's just "opcode operand" syntax most of the time, eg

Code:
1
2
3
4
5
6
add a, b
subtract a, b
compare c, d
jump_if_greater_than to_some_place

some_place:

You pretty much just need an overview on the processor architecture and the various opcodes.
Whilst this gives you a founding in the language, actually programming anything is a different matter.  Then again, you rarely need to program anything significant in assembly these days.

If you come from a higher level language, think of it as a really dumbed down simple, but highly verbose, language.
If you prefer a bottom-up approach, just think of an opcode as selecting a logic circuit from the ALU, and operands as feeding in data (or references to data).

Note: I don't actually do assembly programming, so this is just what I'm guessing.

08/03/2012 07:10 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Assembly code [boring blog post] - ZiNgA BuRgA - 08/03/2012 07:10 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)

 Quick Theme: