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