Microcomputer User's Manual

Chapter 10 Appendices
146
Instruction Set
MN101C00 SERIES INSTRUCTION SET
Group Mnemonic Operation
Flag
VF
NF CF ZF
Code
Size
Cycle
Re-
peat
Machine Code
Notes
Page
1
234567891011
135



REP imm3
REP ※1imm3→RPC
−−−−
32
0001
1rep0010
RTS
RTS mem8(SP)→(PC).bp7∼0
−−−−
27
0000
0001
mem8(SP+1)→(PC).bp15∼8



mem8(SP+2).bp7→(PC).H



mem8(SP+2).bp1∼0→(PC).bp17∼16



SP+3→SP






133
134
RTIRTI mem8(SP)→PSW
●●●●
211
0000
0011 
mem8(SP+1)→(PC).bp7∼0



mem8(SP+2)→(PC).bp15∼8



mem8(SP+3).bp7→(PC).H



mem8(SP+3).bp1∼0→(PC).bp17∼16



mem8(SP+4)→HA-l



mem8(SP+5)→HA-h



SP+6→SP



Control instruction
1Number of repeats is 0 when imm3=0.
Note: "Page" refers to the corresponding page in the Instruction Manual.
Expand
Ver2.0(1997.9.26)