ELEC Lecture 1
ELEC Lecture 1
Assembly Language
This course is designed under (HEEPF) project number D-147-P2 and is
dedicated for the third year (Computer & Control Section), Aswan
Faculty of Engineering, South Valley University.
Reference:
12 Chapters
4 SVC ACADEET Dr. M. Ibrahim Assembly Language
Chapter 0
Introduction to Computing
Quotient Remainder
35/2 = 17 1 (LSB) Beside the binary point (100011.0)2
17/2 = 8 1
8/2 = 4 0
4/2 = 2 0
2/2 = 1 0
1/2 = 0 1 (MSB)
(35)10 = (100011)2
8 SVC ACADEET Dr. M. Ibrahim Assembly Language
Example: Convert (0.35)10 to binary
(0.35)10 = (0.010110)2
3 1 5
1 1 0 1 0 1
1 1 0 1 0 1
0 0 1 0 1
000100
0 1 0 0 1
1010100
1100100 0 1 1 1 0
__________ 1 0 0 0 1
10111000 1 0 1 1 0
1 1 0 1 0
(84)10 + (100)10 = (184)10
1 1 1 1 1