Skip to content

SETF

Operation

Replaces integer FLAGS from an immediate bitmap.

Assembler Syntax

SETF flags_bitmap(m)

Privilege

Unprivileged

SETF replaces the complete architectural integer FLAGS image from its encoded bitmap. Bit 3 writes FLAGS.Z, bit 2 writes FLAGS.N, bit 1 writes FLAGS.C, and bit 0 writes FLAGS.V; a one writes the corresponding flag to one and a zero writes it to zero. The assembler may provide symbolic bitmap names such as Z, N, C, V, and combinations using |.

2.75in

Encodings

SETF flags_bitmap(m)

Format: Instruction format for SETF flags_bitmap(m)

Format: Instruction format for SETF flags_bitmap(m)