English
Language : 

MDT10P73BA Datasheet, PDF (17/22 Pages) Micon Design Technology Corporation – 8-bit micro-controller
MDT10P73(BA)
9. Instruction Set
Instruction Code
Mnemonic
Operands
010000 00000000 NOP
010000 00000001 CLRWT
010000 00000010 SLEEP
010000 00000011 TMODE
010000 00000100 RET
010000 00000rrr CPIO R
010001 1rrrrrrr STWR R
011000 trrrrrrr
LDR R, t
111010 iiiiiiii
LDWI i
010111 trrrrrrr
SWAPR R, t
011001 trrrrrrr
INCR R, t
011010 trrrrrrr
INCRSZ R, t
011011 trrrrrrr
ADDWR R, t
011100 trrrrrrr
SUBWR R, t
011101 trrrrrrr
011110 trrrrrrr
010010 trrrrrrr
110100 iiiiiiii
010011 trrrrrrr
110101 iiiiiiii
010100 trrrrrrr
110110 iiiiiiii
011111 trrrrrrr
010110 trrrrrrr
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
010101 trrrrrrr
RLR R, t
010000 1xxxxxxx CLRW
010001 0rrrrrrr
CLRR R
0000bb brrrrrrr BCR R, b
0010bb brrrrrrr BSR R, b
0001bb brrrrrrr BTSC R, b
0011bb brrrrrrr BTSS R, b
100nnn nnnnnnnn LCALL n
Function
No operation
Clear Watchdog timer
Sleep mode
Load W to TMODE register
Return from subroutine
Control I/O port register
Store W to register
Load register
Load immediate to W
Swap halves register
Increment register
Increment register, skip if zero
Add W and register
Subtract W from register
Decrement register
Decrement register, skip if zero
AND W and register
AND W and immediate
Inclu. OR W and register
Inclu. OR W and immediate
Exclu. OR W and register
Exclu. OR W and immediate
Complement register
Rotate right register
Rotate left register
Clear working register
Clear register
Bit clear
Bit set
Bit Test, skip if clear
Bit Test, skip if set
Long CALL subroutine
Operating
None
0→WT
0→WT, stop OSC
W→TMODE
Stack→PC
W→CPIO R
W→R
R→t
i→W
[R(0~3) ↔R(4~7)]→t
R + 1→t
R + 1→t
W + R→t
R ﹣W→t or (R+/W+1
→t)
R ﹣1→t
R ﹣1→t
R ∩ W→t
i ∩ W→W
R ∪ W→t
i ∪ W→W
R ♁ W→t
i ♁ W→W
/R→t
R(n) →R(n-1),
C→R(7), R(0)→C
R(n)→r(n+1),
C→R(0), R(7)→C
0→W
0→R
0→R(b)
1→R(b)
Skip if R(b)=0
Skip if R(b)=1
n→PC,
PC+1→Stack
Status
TF, PF
TF, PF
None
None
None
None
Z
None
None
Z
None
C, HC, Z
C, HC, Z
Z
None
Z
Z
Z
Z
Z
Z
Z
C
C
Z
Z
None
None
None
None
None
This specification are subject to be changed without notice. Any latest information
please preview http;//www.mdtic.com.tw
P. 17
2008/6 Ver. 1.6