English
Language : 

MDT10F630 Datasheet, PDF (14/19 Pages) List of Unclassifed Manufacturers – 8-bit Micro-controller
MDT10F630
Instruction Code
Mnemonic
Operands
Function
Operation
Status
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 SWAPR R, t Swap halves register
[R(0~3) ↔R(4~7)]→t
None
011001 trrrrrrr INCR R, t Increment register
R + 1→t
Z
011010 trrrrrrr INCRSZ R, t Increment register, skip if zero R + 1→t
None
011011 trrrrrrr
011100 trrrrrrr
011101 trrrrrrr
011110 trrrrrrr
ADDWR R, t
SUBWR R, t
DECR R, t
DECRSZ R, t
Add W and register
W + R→t
Subtract W from register
R ﹣W→t (R+/W+1→t)
Decrement register
R ﹣1→t
Decrement register, skip if zero R ﹣1→t
C, HC, Z
C, HC, Z
Z
None
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
010110 trrrrrrr RRR R, t Rotate right register
010101 trrrrrrr RLR R, t Rotate left register
/R→t
Z
R(n) →R(n-1),
C
C→R(7), R(0)→C
R(n)→r(n+1),
C
C→R(0), R(7)→C
010000 1xxxxxxx CLRW
Clear working register
0→W
Z
010001 0rrrrrrr CLRR R Clear register
0→R
Z
0000bb brrrrrrr BCR R, b Bit clear
0→R(b)
None
0010bb brrrrrrr BSR R, b Bit set
1→R(b)
None
0001bb brrrrrrr BTSC R, b Bit Test, skip if clear
Skip if R(b)=0
None
0011bb brrrrrrr BTSS R, b Bit Test, skip if set
Skip if R(b)=1
None
100nnn nnnnnnnn LCALL N Long CALL subroutine
N→PC, PC+1→Stack None
101nnn nnnnnnnn LJUMP N Long JUMP to address
N→PC
None
110001 iiiiiiii RTIW I
Return, place immediate to W Stack→PC, I→W
None
110111 iiiiiiii ADDWI I
Add immediate to W
PC+1→PC, W+I→W
C,HC,Z
111000 iiiiiiii SUBWI I
Subtract W from immediate
I-W→W
C,HC,Z
010000 00001001 RTFI
Return from interrupt
Stack→PC,1→GIS
None
010000 00000100 RET
Return from subroutine
Stack→PC
None
This specification is subject to be changed without notice. Please visit our web site for the most updated information.
http://www.mdtic.com.tw
P.14
2008/4 Ver. 1.0