Microprocessor 1 Week1
Microprocessor 1 Week1
• [email protected]
• 0 531 959 68 52
• 0 212 473 70 70 / 20 963
KAYNAK Kitaplar:
• Mazidi, Muhammad Ali - Chen, Shujen - Ghaemi, Eshragh -
STM32 Arm Programming for Embedded Systems-
MicroDigitalEd (2019)
• Muhammad Ali Mazidi, Sarmad Naimi, Sepehr Naimi, Janice
Mazidi - ARM Assembly Language_ Programming and
Architecture (2013)
• Muhammad Ali Mazidi, Janice Gillispie-Mazidi - 80X86 IBM PC
and Compatible Computers Assembly Language, Design,
and Interfacing Volumes I & II-Prentice Hall (2002)
Numbering and Coding Systems
Converting from decimal to binary
• Divide the decimal number by 2 repeatedly, keeping track
of the remainders.
• This process continues until the quotient becomes zero.
• The remainders are then written in reverse order to obtain
the binary number.
Numbering and Coding Systems
Converting from binary to decimal
100010010110
8 9 6
Numbering and Coding Systems
Converting between binary and hex
Numbering and Coding Systems
Converting from decimal to hex
Could be approached in two ways:
Memory
Address Contents of memory address
Memory
Memory READ
READ
Control Bus Memory write
63H
Data Bus
63H
75H
21H
Inside the Computer
Review Questions
1. How many bytes is 24 kilobytes ?
2. What does "RAM" stand for? How is it used in computer systems?
3. What does "ROM" stand for? How is it used in computer systems?
4. Why is RAM called volatile memory?
5. List the three major components of a computer system.
6. What does "CPU" stand for? Explain its function in a computer.
7. List the three types of buses found in computer systems and state
briefly the purpose of each type of bus.
8. State which of the following is unidirectional and which is
bidirectional.
(a) data bus (b) address bus
9. If an address bus for a given computer has 16 lines, then what is
the maximum amount of memory it can access?
10. What does "ALU" stand for? What is its purpose?
11. How are registers used in computer systems?
12. What is the purpose of the program counter?
13. What is the purpose of the instruction decoder?