assembler
An assembler is a program that acts like a bridge between human-readable assembly code and machine code. It converts the assembly code into the binary machine code that CPU can execute directly.
An assembler is a program that acts like a bridge between human-readable assembly code and machine code. It converts the assembly code into the binary machine code that CPU can execute directly.
The CPU understand and can run only 0 and 1, and to make logic of it like adding two numbers we have a Logic Gates basically (AND, OR, XOR). We use those to make more complex things such as adding two numbers. The processor manufacturer provides developers with documentation they can use to give instructions to the CPU.
A machine or computer can run only 0 and 1, so we call this machine code. It’s the lowest level of programming language that a computer can directly execute.
registers are a small storage unit that CPU use , example: mov al, 'A' mov ah, 'b' mov ax, 'AB' in this example we have al, ah and ax registers. and we show that we can store for each one of the and at the same time we can store the two bytes in the ax register. Register H L ax .. .. in the table we have the ax register and that combine two registers ah and al. (h for high and l for low) each of ah and al can store one byte (8 bits). ...