English
Language : 

MDT10P7212_11 Datasheet, PDF (13/18 Pages) Micon Design Technology Corporation – 8-bit micro-controller
#=value depends on the condition of the following table
MDT10P7212
Condition
Status: bit 4 Status: bit 3
WDT reset (not during SLEEP)
0
1
WDT reset during SLEEP
0
0
Power-on reset
1
1
Power-range reset
1
1
Note : u=unchanged, x=unknown, - =unimplemented, read as “0”
PSTA: bit 1
u
u
0
u
PSTA: bit 0
u
u
x
0
9. Instruction Set
Instruction Code
010000 00000000
010000 00000001
010000 00000010
010000 00000011
010000 00000100
010000 00000rrr
010001 1rrrrrrr
011000 trrrrrrr
111010 iiiiiiii
010111 trrrrrrr
011001 trrrrrrr
011010 trrrrrrr
011011 trrrrrrr
011100 trrrrrrr
011101 trrrrrrr
011110 trrrrrrr
010010 trrrrrrr
110100 iiiiiiii
010011 trrrrrrr
110101 iiiiiiii
010100 trrrrrrr
110110 iiiiiiii
011111 trrrrrrr
010110 trrrrrrr
Mnemonic
Operands
NOP
CLRWT
SLEEP
TMODE
RET
CPIO R
STWR R
LDR R, t
LDWI I
SWAPR R, t
INCR R, t
INCRSZ R, t
ADDWR R, t
SUBWR R, t
DECR R, t
DECRSZ R, t
ANDWR R, t
ANDWI i
IORWR R, t
IORWI i
XORWR R, t
XORWI i
COMR R, t
RRR R, t
Function
Operating
Status
No operation
None
Clear Watchdog timer
0→WT
TF, PF
Sleep mode
0→WT, stop OSC
TF, PF
Load W to TMODE register W→TMODE
None
Return from subroutine
Stack→PC
None
Control I/O port register
W→CPIO r
None
Store W to register
W→R
None
Load register
R→t
Z
Load immediate to W
I→W
None
Swap halves register
[R(0~3) ↔R(4~7)]→t None
Increment register
R + 1→t
Z
Increment register, skip if zero R + 1→t
None
Add W and register
W + R→t
C, HC, Z
Subtract W from register
Decrement register
R ﹣W→t or (R+/W+1 C, HC, Z
→t)
R ﹣1→t
Z
Decrement register, skip if zero R ﹣1→t
None
AND W and register
R ∩ W→t
Z
AND W and immediate
i ∩ W→W
Z
Inclu. OR W and register
R ∪ W→t
Z
Inclu. OR W and immediate i ∪ W→W
Z
Exclu. OR W and register
R ♁ W→t
Z
Exclu. OR W and immediate i ♁ W→W
Z
Complement register
/R→t
Z
Rotate right register
R(n) →R(n-1),
C
C→R(7), R(0)→C
This specification are subject to be changed without notice. Any latest information
please preview http;//www.mdtic.com.tw
P. 13
2011/3 VER1.4