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