The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN

BIT HANEL
ADDRESSESI/O Port Bit Addresses
(cont’)

Special Function Register

Byte address

SFR RAM Address (Byte and Bit)FF F0 E0 D0 B8 B0 A8 A0 99

B ACC PSW IP P3 IE P2 SBUF

Bit addressF7 F6 F5 F4 F3 F2 F1 F0E7 E6 E5 E4 E3 E2 E1 E0D7 D6 D5 D4 D3 D2 D1 D0-- -- -- BC BB BA B9 B8B7 B6 B5 B4 B3 B2 B1 B0AF AE AD AC AB AA A9 A8A7 A6 A5 A4 A3 A2 A1 A0not bit addressable

DPL

not bit addressable
82

SP

not bit addressable
98 90 8D 8C 8B 8A 89 88 87 83 81 80

SCON P1 TH1TH0TL1TL0TMODTCONPCON DPH P0

9F 9E 9D 9C 9B 9A 99 9897 96 95 94 93 92 91 90not bit addressablenot bit addressablenot bit addressablenot bit addressablenot bit addressable8F 8E 8D 8C 8B 8A 89 88not bit addressablenot bit addressable87 86 85 84 83 82 81 80

Bit address

Byte address

Bit addresses 80 – F7H belong to SFR of P0, TCON, P1, SCON, P2, etc

Free download pdf