
W581xx Design Guide
-
12 -
D. Instruction Set List:
INSTRUCTION
RANGE
DESCRIPTION
DEFAULT
VALUE
0000 0000
Unconditional
LD Rn, value (n:0~7)
0
255
Rn
value
LD EN, operand
EN
operand
1111 1111
LD STOP, operand
STOP
operand
xxx1 1111
LD MODE, operand
MODE
operand
11x1 xxxx
JP value
0
127
Jump to the group entry
value indicated
Jump to the group entry
indicated by Rn
If last global repeat
finished, Rn
value
If TGm (m:1- 4 ) status is
high level, Rn
value
If TGn (m:1-4 ) status is
low level, Rn
value
If last global repeat
finished, EN
operand
If last global repeat
finished, STOP
operand
If last global repeat
finished, jump to the group
entry value indicated
If last global repeat
finished, jump to the group
entry value indicated in Rn
If TGm (m: 1- 4) status is
high level, jump to the
group entry value indicated
If TGm (m: 1- 4) status is
low level, jump to the
group entry value indicated
If TGm (m: 1- 4) status is
high level, jump to the
group entry value indicated
in Rn.
JP Rn (n:0~7)
0
255
Conditional
LD Rn, value @LAST (n:0~7)
0
255
LD Rn, value @TGm_HIGH
(n:0~7)
0
255
LD Rn, value @TGm_LOW
(n:0~7)
0
255
LD EN, operand @LAST
LD STOP, operand @LAST
JP value @LAST
0
127
JP Rn @LAST (n:0~7)
0
255
JP value @TGm_HIGH
0
127
JP value @TGm_LOW
0
127
JP Rn @TGm_HIGH (n:0~7)
0
255
JP Rn @TGm_LOW (n:0~7)
0
255
If TGm (m: 1
4) status is
low level, jump to the
group entry value indicated
in Rn
Stop all activity and enter
standby state
END
END