Professional Documents
Culture Documents
Introduction to Microcontrollers
Microprocessors
CPU only Needs many ICs to implement a small system
Introduction to Microcontrollers
Microcontrollers
CPU + I/O + Timer(s) [+ ROM] [+ RAM] Low to moderate performance only
Return
Signal Pins
Alternate Pin-functions
10
Memory Space
11
(RAM)
12
13
Register Banks
Four banks of 8 byte-sized registers, R0 to R7 Addresses are :
18 - 1F
10 - 17 08 - 0F 00 - 07
Dr. Jimmy To, EIE, PolyU
for bank 3
for bank 2 for bank 1 for bank 0 (default)
14
Register Banks
Active bank selected by bits in PSW. [ RS1, RS0 ]
15
16
17
18
Return
19
20
Return
21
22
23
24
25
26
27
28
29
30
31
32
33