|
MDT10P257 Datasheet, PDF (8/18 Pages) Micon Design Technology Corporation – 8-bit micro-controlle | |||
|
◁ |
MDT10P257
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
9. 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
011001 trrrrrrr
SWAPR Rï¼t Swap halves register
INCR Rï¼t Increment register
[R(0~3) â
R(4~7)]ât
R + 1ât
None
Z
011010 trrrrrrr
011011 trrrrrrr
INCRSZ Rï¼ Increment registerï¼skip if
zero
ADDWR Rï¼t Add W and register
R + 1ât
W + Rât
None
Cï¼HCï¼Z
011100 trrrrrrr
SUBWR Rï¼t Subtract W from register R ï¹£Wât
Cï¼HCï¼Z
(R+/W+1ât)
011101 trrrrrrr
DECR Rï¼t Decrement register
R ï¹£1ât
Z
011110 trrrrrrr
DECRSZ Rï¼t Decrement registerï¼
R ï¹£1ât
None
skip if zero
010010 trrrrrrr
ANDWR Rï¼t AND W and register
R â© Wât
Z
110100 iiiiiiii
ANDWI I
AND W and immediate
I â© WâW
Z
010011 trrrrrrr
IORWR Rï¼t Inclu. OR W and register R ⪠Wât
Z
110101 iiiiiiii
IORWI I
Inclu. OR W and immediate I ⪠WâW
Z
010100 trrrrrrr
XORWR Rï¼t Exclu. OR W and register R â Wât
Z
110110 iiiiiiii
XORWI I
Exclu. OR W and immediate I â WâW
Z
011111 trrrrrrr
COMR Rï¼ t Complement register
/Rât
Z
010110 trrrrrrr
RRR Rï¼t
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 visit our web site
(http;//www.mdtic.com.tw) for detail
P. 8
2011/02 VER 1.1
|
▷ |