English
Language : 

MDT90P01 Datasheet, PDF (8/11 Pages) Micon Design Technology Corporation – 4-bit micro-controller
MDT90P01
10. Instruction Set :
Instruction Code
100 0000 0000
100 0000 0001
100 0000 0010
100 0000 0011
100 0000 0101
100 1010 iiii
100 0000 0rrr
111 100r rrrr
1t1 101r rrrr
100 1000 iiii
1t1 110r rrrr
1t1 111r rrrr
1t1 001r rrrr
100 0010 iiii
1t1 011r rrrr
100 0110 iiii
1t1 010r rrrr
100 0100 iiii
1t1 000r rrrr
010 0bbr rrrr
011 0bbr rrrr
010 1bb rrrr
011 1bbr rrrr
00n nnnn nnnn
Mnemonic
Operands
NOP
CLRWT
SLEEP
TMODEL
TMODEH
RTWI
CPIO R
STWR R
LDR R, t
LDWI I
ADDWR R, t
DECRSZ R, t
ANDWR R, t
ANDWI i
IORWR R, t
IORWI i
XORWR R, t
XORWI i
RRR R, t
Function
No operation
Clear Watchdog timer
Sleep mode
Load W to TMRL register
Load W to TMRH register
Return,place immediate to W
Control I/O port register
Store W to register
Load register
Load immediate to W
Add W and 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
Rotate right register
BCR R, b
BSR R, b
BTSC R, b
BTSS R, b
JUMP n
Bit clear
Bit set
Bit Test, skip if clear
Bit Test, skip if set
JUMP(CALL) to address
Operating
None
0→WT
0→WT, stop OSC
W→TMRL
W→TMRH
Stack→PC , I→W
W→CPIO r
W→R
R→t
I→W
W + R→t
R ﹣1→t
R ∩ W→t
i ∩ W→W
R ∪ W→t
i ∪ W→W
R ♁ W→t
i ♁ W→W
R(n) →R(n-1),
0→R(3), R(0)→x
0→R(b)
1→R(b)
Skip if R(b)=0
Skip if R(b)=1
n→PC
Status
TF, PF
TF, PF
None
None
None
None
None
Z
None
C, Z
None
Z
Z
Z
Z
Z
Z
None
None
None
None
None
None
Note :
W
WT
TMRL
TMRH
CPIO
TF
PF
PC
OSC
Inclu.
Exclu.
AND
: Working register
: Watchdog timer
: Time mode register low nibble
: TIme mode register high nibble
: Control I/O port register
: Timer overflow flag
: Power loss flag
: Program Counter
: Oscillator
: Inclusive ‘∪’
: Exclusive ‘♁’
: Logic AND ‘∩’
b:
t:
R:
C:
Z:
x:
i:
n:
Bit position
Target
0 : Working register
1 : General register
General register address
Carry flag
Zero flag
Don’t care
Immediate data ( 4 bits )
Immediate address
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. 8
2008/5 Ver. 1.0