Professional Documents
Culture Documents
Addition => 03
ML : 03 101 011
what is assembly language?
Assembly is a low level programming language
Computers are complicated Layers
The microprocessor
It’s the controlling element in in a computer system that controls memory and
I/O devices
Decimal System
0, 1, 2, 3, 4, 5, 6, 7, 8, 9 base 10
Numbering system(cont)
Binary System
binary system uses 2 digits: 0, 1
Ex: 01110 b
Numbering system(cont.)
Hexadecimal System
There is a convention to add "h" in the end of a hexadecimal number, this way we can
determine that 5Fh is a hexadecimal number .
We also add "0" (zero) in the beginning of hexadecimal numbers that begin with a letter
(A..F), for example 0E120h.
Examples:
mov ax, 1245h
add ax, 0e456h
sub ax, 1245h
inc ax
Mul cx