|
MDT10P223 Datasheet, PDF (11/21 Pages) Micon Design Technology Corporation – 8-bit micro-controller | |||
|
◁ |
MDT10P223
Register Address Power-On Reset /MCLR Reset WDT Reset
STATUS
03h
0001 1xxx
000# #uuu
000# #uuu
MSR
04h
100x xxxx
100u uuuu
1uuu uuuu
PORT A
05h
xxxx xxxx
uuuuuuuu
uuuu uuuu
PORT B
06h
xxxx xxxx
uuuu uuuu
uuuu uuuu
CMR
07h
0000 0000
uuuu uuuu
uuuu uuuu
Note : uï¼unchanged, xï¼unknown, - ï¼unimplemented, read as â0â
#ï¼value depends on the condition of the following table
Condition
/MCLR reset (not during SLEEP)
/MCLR reset during SLEEP
WDT reset (not during SLEEP)
WDT reset during SLEEP
Status: bit 4
U
1
0
0
Status: bit 3
u
0
1
0
10. Instruction Set
Instruction Code
Mnemonic
Operands
Function
Operating
Status
010000 00000000 NOP
No operation
None
010000 00000001 CLRWT
Clear Watchdog timer
0âWT
TF, PF
010000 00000010 SLEEP
Sleep mode
0âWT, stop OSC TF, PF
010000 00000011 TMODE
Load W to TMODE register WâTMODE
None
010000 00000100 RET
Return
StackâPC
None
010000 00000rrr CPIO R Control I/O port register WâCPIO r
None
010001 1rrrrrrr STWR R Store W to register
WâR
None
011000 trrrrrrr LDR R, t Load register
Rât
Z
111010 iiiiiiii
LDWI I
Load immediate to W
IâW
None
010111 trrrrrrr SWAPR R, t Swap halves register
[R(0~3)âR(4~7)] None
ât
011001 trrrrrrr INCR R, t Increment register
R + 1ât
Z
011010 trrrrrrr
INCRSZ R, t Increment register, skip if R + 1ât
zero
None
011011 trrrrrrr ADDWR R, t Add W and register
W + Rât
C, HC, Z
011100 trrrrrrr
011101 trrrrrrr
SUBWR R, t Subtract W from register
DECR R, t Decrement register
R ï¹£Wât
(R+/W+1ât)
R ï¹£1ât
C, HC, Z
Z
011110 trrrrrrr
DECRSZ R, t Decrement register, skip if R ï¹£1ât
zero
None
010010 trrrrrrr ANDWR R, t AND W and register
R â© Wât
Z
This specification are subject to be changed without notice. Any latest information
Please visit http;//www.mdtic.com.tw
P.11
2010/06 Ver. 1.0
|
▷ |