16
Table 1-8.
System Control Instructions
Instruction
Size*
Function
RTE
--
Returns from an exception handling routine.
SLEEP
--
Causes a transition to power-down state.
LDC
B
Rs
→
CCR, #Imm
→
CCR
Moves immediate data or general register contents to the condition code
register.
STC
B
CCR
→
Rd
Copies the condition code register to a specified general register.
ANDC
B
CCR
∧
#Imm
→
CCR
Logically ANDs the condition code register with immediate data.
ORC
B
CCR
∨
#Imm
→
CCR
Logically ORs the condition code register with immediate data.
XORC
B
CCR
⊕
#Imm
→
CCR
Logically exclusive-ORs the condition code register with immediate data.
NOP
--
PC + 2
→
PC
Only increments the program counter.
*
Size: Operand size
B: Byte
Table 1-9.
Block Data Transfer Instruction
Instruction
Size
Function
EEPMOV
--
if R4L
≠
0 then
repeat @RS+
→
@R6+
R4L - 1
→
R4L
until R4L = 0
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.
Summary of Contents for H8/300L Series
Page 1: ...H8 300L Series Programming Manual ...
Page 6: ...iv ...
Page 8: ...2 ...
Page 11: ......
Page 14: ......
Page 46: ......
Page 48: ......
Page 60: ......
Page 83: ......
Page 116: ......
Page 150: ...144 ...
Page 151: ......
Page 156: ...150 ...