English
Language : 

MDT1010 Datasheet, PDF (7/20 Pages) Micon Design Technology Corporation – 8-bit micro-controller
MDT1010
Instruction Code
Mnemonic
Operands
Function
Operating
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
011010 trrrrrrr
INCRSZ R, t Increment register, skip if zero R + 1 t
011011 trrrrrrr
ADDWR R, t Add W and register
W+R t
011100 trrrrrrr
011101 trrrrrrr
SUBWR R, t Subtract W from register
DECR R, t Decrement register
R Wt
(R+/W+1 t)
R 1t
011110 trrrrrrr
DECRSZ R, t Decrement register, skip if zero R 1 t
010010 trrrrrrr
ANDWR R, t AND W and register
R Wt
110100 iiiiiiii
ANDWI i AND W and immediate
i WW
010011 trrrrrrr
IORWR R, t Inclu. OR W and register
R Wt
110101 iiiiiiii
IORWI i Inclu. OR W and immediate i W W
010100 trrrrrrr
XORWR R, t Exclu. OR W and register
R Wt
110110 iiiiiiii
XORWI i Exclu. OR W and immediate i W W
011111 trrrrrrr
COMR R, t Complement register
/R t
010110 trrrrrrr
RRR R, t Rotate right register
R(n) R(n-1), C
R(7),
R(0) C
010101 trrrrrrr
RLR R, t Rotate left register
R(n) r(n+1),
C R(0),
R(7) C
010000 1xxxxxxx CLRW
Clear working register
0W
010001 0rrrrrrr
CLRR R Clear register
0R
0000bb brrrrrrr
BCR R, b Bit clear
0 R(b)
0010bb brrrrrrr
BSR R, b Bit set
1 R(b)
0001bb brrrrrrr
BTSC R, b Bit Test, skip if clear
Skip if R(b)=0
0011bb brrrrrrr
BTSS R, b Bit Test, skip if set
Skip if R(b)=1
1000nn nnnnnnnn LCALL n Long CALL subroutine
n PC,
PC+1 Stack
1010nn nnnnnnnn LJUMP n Long JUMP to address
n PC
110000 nnnnnnnn CALL n
110001 iiiiiiii
RTWI i
11001n nnnnnnnn JUMP n
Call subroutine
Return, place immediate to W
JUMP to address
n PC,
PC+1 Stack
Stack PC,
iW
n PC
Status
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
None
None
None
None
This specification are subject to be changed without notice. Any latest information please preview
http;//www.mdtic.com.tw
P.7
2005/6 Ver1.4