This purpose of this monograph is to break the abstract understanding of a computer, and to explain a computer’s behavior in completely in mechanistic terms. It will deal specifically with the Central Processing Unit (CPU) of the computer, as this is where the magic happens. All other parts of a computer can be seen as just providing information for the CPU to operate on.
- Machine code is a representation of an assembly language program that the CPU hardware can understand. Since the CPU only understands binary, machine code is a binary language that controls the CPU. When we write the machine binary code, to make it easier for a human to read, the code will be collected into groups of 4 bits, and the hexadecimal (base 16) result will be written.