Renesas Electronics
STZ
Transfer with condition
STore on Zero
[Syntax]
STZ src, dest
[Operation]
if ( Z == 1 )
dest = src;
[Function]
-
This instruction moves src to dest when the Z flag is 1. dest does not change when the Z flag is 0.
[Instruction Format]
Syntax
Processng Size
src
dest
Code size
(Byte)
L
#SIMM:8
Rd
4
#SIMM:16
5
#SIMM:24
6
#IMM:32
7
[Flag Change]
This instruction does not affect the states of flags.
[Description Example]
STZ #1, R2
[Related Instructions]
STZ, STNZ