Hitachi H8/300L Series Programming Manual page 22

Hide thumbs Also See for H8/300L Series:
Table of Contents

Advertisement

Table 1-8.
System Control Instructions
Instruction
Size*
Function
RTE
--
Returns from an exception handling routine.
SLEEP
--
Causes a transition to power-down state.
Rs → CCR, #Imm → CCR
LDC
B
Moves immediate data or general register contents to the condition code
register.
CCR → Rd
STC
B
Copies the condition code register to a specified general register.
CCR ∧ #Imm → CCR
ANDC
B
Logically ANDs the condition code register with immediate data.
CCR ∨ #Imm → CCR
ORC
B
Logically ORs the condition code register with immediate data.
CCR ⊕ #Imm → CCR
XORC
B
Logically exclusive-ORs the condition code register with immediate data.
PC + 2 → PC
NOP
--
Only increments the program counter.
*
Size: Operand size
B: Byte
Table 1-9.
Block Data Transfer Instruction
Instruction
Size
Function
if R4L ≠ 0 then
EEPMOV
--
else next;
Moves a data block according to parameters set in general registers
R4L, R5, and R6.
R4L: size of block (bytes)
R5: starting source address
R6: starting destination address
Execution of the next instruction starts as soon as the block transfer is completed.
This instruction is for writing to the large-capacity EEPROM provided on chip with some
models in the H8/300L Series. For details see the applicable hardware manual.
16
repeat @RS+ → @R6+
R4L - 1 → R4L
until R4L = 0

Advertisement

Table of Contents
loading

Table of Contents