|
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
|
▷ |