Noflags – Zilog Z16F2810 User Manual
Page 145

UM018809-0611
NOFLAGS Instruction
ZNEO
®
CPU Core
User Manual
129
NOFLAGS
Definition
No Flags Modifier
Syntax
NFLAGS
Operation
Modify the next instruction to suppress setting flags as a result of the operation.
Description
This modifier prefix suppresses the setting of condition flags as a result of the next instruction.
The operation is performed and a result (if any) is written, but the result does not affect the Flags
register.
The NOFLAGS modifier does not suppress IRET, POPF, or any LD or POP instruction that
overwrites the FLAGS register directly, for example,
LD.B FLAGS:IODATA, R0
.
Flags
Flags are not affected by this instruction or the next instruction, unless the next instruction over-
writes the FLAGS register directly.
Syntax and Opcodes
Example
Before:
R3=16H, R11=20H
NOFLAGS
;Object Code: 0005
SUB R3, R11
;Object code: A1B3
After:
R3=FFFF_FFF6H, Flags unchanged
Instruction, Operands
Word 0
Word 1
Word 2
NOFLAGS
0005H
Note: