SFR中暫存器代號,原文是啥?
書裡寫的不夠詳細,麻煩各位前輩幫解答一下.Orz
A:(Accumulator)
B:?
SP:(Stack Poionter)
DPTR:?
PC:(Program Counter)
PSW:(Program Status Word)
-CY
-AC
-F0
-RSx
-OV
-P
TMOD:
TCON:
-TFx
-TRx
-IEx
-ITx
IE:
-EA
-ETx
-ES
-EXx
IP:
-PS
-PTx
-PXx
PCON:
-SMOD
- GFx
-PD
-IDL
THx:
TLx:
(P.S:小寫x 是任意數字)
2006-04-13 03:35:00 · 2 個解答 · 發問者 金塊 2 in 電腦與網際網路 ➔ 程式設計
SFR:Special Function Register //特殊功能暫存器
剩下的都可以在以下連結的pdf中找到!
善用Adobe Reader裡的搜尋功能就可以找到你要的答案!
http://www.siteplayer.com/docs/001212/80C51_FAM_HARDWARE_1.pdf
2006-04-13 11:53:38 補充:
SMOD=Serial Port Mode
2006-04-13 06:38:34 · answer #1 · answered by anye 5 · 0⤊ 0⤋
SFR : Special Function Register
A: Accumulator(ACC)
B : B register
SP: Stack Pointer
DPTR : Data Pointer
PC: Program Counter
PSW: Program Status Word
-CY Carry flag
-AC Auxiliary Carry flag
-F0 Flag 0
-RSx Register bank select bit x
-OV Overflow flag
-P Parity flag
TMOD : Timer/Counter Mode Control Register
TCON : Timer/Counter Control Register
-TFx Timer x overflow Flag
-TRx Timer x Run control bit
-IEx Interrupt x flag
-ITx Interrupt x Type control bit
IE: Interrupt Enable Register
-EA Global disable bit
-ETx Timer x interrupt enable bit
-ES Serial Port interrupt enable bit
-EXx External interrupt x enable bit
IP: IP: Interrupt Priority Register
-PS Serial Port interrupt priority bit
-PTx Timer x interrupt priority bit.
-PXx External interrupt x priority bit.
PCON: Power Control Register
-SMOD 查的文件中沒有提到SMOD是什麼的縮寫,只提到:
SMOD1 Double Baud rate bit. When set to a 1 and Timer 1 is used to generate baud rates, and the
Serial Port is used in modes 1, 2, or 3.
SMOD0 When set, Read/Write accesses to SCON.7 are to the FE bit. When clear, Read/Write
accesses to SCON.7 are to the SM0 bit.
但在 http://acronyms.thefreedictionary.com/smod 中說SMOD是Serial Port Mode,可是在intel文件中是說SMx(x=0,1)是Serial Port Mode Bit x所以我想SMOD或SM兩者都是由Serial Port Mode的Serial和Mode兩字而來
- GFx General-purpose flag bit
-PD Power Down bit
-IDL Idle mode bit
THx: Timer x High byte
TLx: Timer x Low byte
(Timer x consists of two 8-bit registers, THx and TLx)
2006-04-13 07:12:45 · answer #2 · answered by chan 5 · 0⤊ 0⤋