Hitachi AP1 Data Book page 254

4-bit single-chip microcomputer
Table of Contents

Advertisement

HMCS404C------------------------------------------------------------
Instruction
(P)
OP Code
"0" "0"
Referred ROM Address
RA
13
RA.
2
RAIIRA. o RA9 RA.
(a) Address Designation
: If ROB
=
1
: If R0
9
=
1
(b) Pattern Output
Fig. 23 P Instruction
• P Instruction
The P instruction refers ROM data addressed by Table Data
Addressing. ROM data addressed also determine its destination.
When bit 8 in referred ROM data is "I", 8 bits of referred
NOP
8A AAA
256n
+
254
~_=BR~BB=B
__
_I~::~n:2,~5
Fig.24 The Branch Destination by BR Instruction on
the Boundary between Pages
ROM data are written into the accumulator and B Register.
When bit 9 is "I", 8 bits of referred ROM data are written into
the RI and R2 port output register. When both bit 8 and 9 are
"I", ROM data are written into the accumulator and B Register
and also to the Rl and R2 port output register at a same time.
The P instruction has no effect on the program counter.
• INSTRUCTION SET
The HMCS400 series provide 99 instructions. These instruc-
tions are classified into 10 groups as follows;
(I) Immediate Instruction
252
(2) Register-to-Register Instruction
(3) RAM Address Instruction
(4) RAM Register Instruction
(5) Arithmetic Instruction
(6) Compare Instruction
(7) RAM Bit Manipulation Instruction
(8) ROM Address Instruction
(9) Input/Output Instruction
(10) Control Instruction

Advertisement

Table of Contents
loading

Table of Contents