Machine Code Tutorial for Mac

I want to know the machine code. Not for a specific reason. Just for that. I was wondering if there are any good machine code tutorials. I have a macbook with a 2.4 GHz Intel Core 2 Duo processor.

+4
source share
3 answers

First of all, if you are not a masochist, I think you would prefer a tutorial on programming assembly language with machine code. The assembly language uses human-readable instructions, a kind of low-level programming language. Machine code is machine readable - suitable for machines that are not very good for wetware; -)

All Intel chips use some x86 instruction set options. The above Wikipedia article provides examples of assembly and machine code, as well as resources for learning assembly language (see External links at the bottom of the article).

+2
source

This is a great question ... and I had the same thing in 1980 on my Commodore 64 and Apple IIe (back when each byte and instruction mattered). Mike Smith wrote a wonderful book called 6502 Programming in Machine and Assembly Languages, which taught me how to experiment with machine code. Similar books are available in PDF format. A good book like this one written for your chosen processor will ultimately teach you the logic of performing operations in an assembly and how to convert to machine code. Most people want to dwell in assembly language, but it is worth at least once to take the next step to the machine code.

+1
source

Here is a site that gives some decent lessons. I used this a while ago, but I learned a lot from him. = D http://www.angelfire.com/electronic2/machinelanguage/lesson1.html

0
source

Source: https://habr.com/ru/post/1308315/


All Articles