Search code examples
macosmachine-code

Machine Code tutorial for Mac


I want to learn machine code. Not for a specific reason. Just for the heck of it. I was wondering if there were any good machine code tutorials. I have a macbook with a 2.4 GHz Intel Core 2 Duo processor.


Solution

  • First of all, unless you are a masochist, I think you would prefer a tutorial on intel assembly language programming to machine code. Assembly language uses human readable instructions - kind of a low level programming language. Machine code is machine readable - good for machines, not so good for wetware ;-)

    All intel chips use some variation of the x86 instruction set. The Wikipedia article referenced above gives examples of assembly vs machine code as well as resources to learn assembly language (see the external links at the bottom of the article).