English
Language : 

MDT10P65_11 Datasheet, PDF (9/14 Pages) Micon Design Technology Corporation – 8-bit micro-controller
MDT10P65
Condition
POWR ON RESET
/MCLR reset (not during SLEEP)
/MCLR reset during SLEEP
WDT reset (not during SLEEP)
WDT reset during SLEEP
Interrupt Wake-up during SLEEP
Status
bit 4
1
u
1
0
0
1
Status
bit 3
1
u
0
1
0
0
PSTA
bit 1
0
u
u
u
u
u
9. Instruction Set
Instruction Code
Mnemonic
Operands
Function
010000 00000000 NOP
No operation
010000 00000001 CLRWT Clear Watchdog timer
010000 00000010 SLEEP
Sleep mode
010000 00000011 TMODE Load W to TMODE register
010000 00000rrr CPIO R Control I/O port register
010001 1rrrrrrr STWR R Store W to register
011000 trrrrrrr LDR R, t Load register
111010 iiiiiiii LDWI I Load immediate to W
010111 trrrrrrr SWAPR R, t Swap halves register
011001 trrrrrrr INCR R, t Increment register
011010 trrrrrrr INCRSZ R, t Increment register, skip if
zero
011011 trrrrrrr ADDWR R, t Add W and register
011100 trrrrrrr SUBWR R, t Subtract W from register
011101 trrrrrrr DECR R, t Decrement register
011110 trrrrrrr DECRSZ R, Decrement register, skip if
t
zero
010010 trrrrrrr ANDWR R, t AND W and register
110100 iiiiiiii ANDWI i AND W and immediate
010011 trrrrrrr IORWR R, t Inclu. OR W and register
110101 iiiiiiii IORWI i Inclu. OR W and immediate
Operation Status
None
0→WT
0→WT,
stop OSC
W→TMODE
W→CPIO r
W→R
R→t
I→W
[R(0~3) ↔
R(4~7)]→t
R + 1→t
R + 1→t
TF, PF
TF, PF
None
None
None
Z
None
None
Z
None
W + R→t
R ﹣W→t
(R+/W+1→t)
R ﹣1→t
R ﹣1→t
C, HC, Z
C, HC, Z
Z
None
R ∩ W→t
Z
i ∩ W→W
Z
R ∪ W→t
Z
i ∪ W→W
Z
This specification are subject to be changed without notice. Any latest information
please preview http;//www.mdtic.com.tw
P. 9
2007/9 Ver. 1.8