转自:http://hi.baidu.com/%B0%EB%CA%C0%CC%F4%D5%BD/blog/item/1984633dd855d53071cf6c64.html
Symbol |
Description |
Byte Address |
P0 |
Port 0 |
80h |
SP |
Stack pointer |
81h |
DPL |
Data pointer (low byte) |
82h |
DPH |
Data pointer (high byte) |
83h |
TCON |
Counter/Timer control |
88h |
TMOD |
Counter/Timer operation mode |
89h |
TL0 |
Counter/Timer 0 (low byte) |
8Ah |
TL1 |
Counter/Timer 1 (low byte) |
8Bh |
TH0 |
Counter/Timer 0 (high byte) |
8Ch |
TH1 |
Counter/Timer 1 (high byte) |
8Dh |
P1 |
Port 1 |
90h |
SCON |
Serial port control |
98h |
SBUF |
Serial port buffer |
99h |
P2 |
Port 2 |
0A0h |