![TENX TECHNOLOGY TM57PE10 User Manual Download Page 34](http://html.mh-extra.com/html/tenx-technology/tm57pe10/tm57pe10_user-manual_1087886034.webp)
Advance Information
UM-TM57PE10_E
8-Bit Microcontroller
34
tenx technology inc.
Preliminary
Rev 1.4, 2012/01/19
Mnemonic
Op Code
Cycle Flag Affect
Description
Byte-Oriented File Register Instruction
f,d
00 0111 dfff ffff
1
C,DC,Z
Add W and "f"
f,d
00 0101 dfff ffff
1
Z
AND W with "f"
f
00 0001 1fff ffff
1
Z
Clear "f"
00 0001 0100 0000
1
Z
Clear W
f,d
00 1001 dfff ffff
1
Z
Complement "f"
f,d
00 0011 dfff ffff
1
Z
Decrement "f"
f,d
00 1011 dfff ffff
1 or 2
-
Decrement "f", skip if zero
f,d
00 1010 dfff ffff
1
Z
Increment "f"
f,d
00 1111 dfff ffff
1 or 2
-
Increment "f", skip if zero
f,d
00 0100 dfff ffff
1
Z
OR W with "f"
f
00 1000 0fff ffff
1
-
Move "f" to W
f
00 0000 1fff ffff
1
-
Move W to "f"
r
00 0000 00rr rrrr
1
-
Move W to "r"
f,d
00 1101 dfff ffff
1
C
Rotate left "f" through carry
f,d
00 1100 dfff ffff
1
C
Rotate right "f" through carry
f,d
00 0010 dfff ffff
1
C,DC,Z
Subtract W from "f"
f,d
00 1110 dfff ffff
1
-
Swap nibbles in "f"
f
00 1000 1fff ffff
1
Z
Test if "f" is zero
f,d
00 0110 dfff ffff
1
Z
XOR W with "f"
Bit-Oriented File Register Instruction
f,b
01 000b bbff ffff
1
-
Clear "b" bit of "f"
f,b
01 001b bbff ffff
1
-
Set "b" bit of "f"
f,b
01 010b bbff ffff
1 or 2
-
Test "b" bit of "f", skip if clear
f,b
01 011b bbff ffff
1 or 2
-
Test "b" bit of "f", skip if set
Literal and Control Instruction
k
01 1100 kkkk kkkk
1
C,DC,Z
Add Literal "k" and W
k
01 1011 kkkk kkkk
1
Z
AND Literal "k" with W
k
10 kkkk kkkk kkkk
2
-
Call subroutine "k"
00 0000 0000 0100
1
TO,PD
Clear Watch Dog Timer
k
11 kkkk kkkk kkkk
2
-
Jump to branch "k"
k
01 1010 kkkk kkkk
1
Z
OR Literal "k" with W
k
01 1001 kkkk kkkk
1
-
Move Literal "k" to W
00 0000 0000 0000
1
-
No operation
00 0000 0100 0000
2
-
Return from subroutine
00 0000 0110 0000
2
-
Return from interrupt
k
01 1000 kkkk kkkk
2
-
Return with Literal in W
00 0000 0000 0011
1
TO,PD
Go into standby mode, Clock
oscillation stops
k
01 1111 kkkk kkkk
1
Z
XOR Literal "k" with W