Skip to content

FNEG

Operation

Complements the selected floating-point source sign bit.

Assembler Syntax

FNEG.{S|D}(z) Fn(s), Fn(d)

FNEG.{S|D}(z) <ea>(e), Fn(d)

FNEG.{S|D}(z) Fn(s), <ea>(e)

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Complements the sign bit of the selected floating-point source value and writes the result.

2.75in

Encodings

FNEG.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FNEG.{S|D}(z) Fn(s), Fn(d)

Format: Instruction format for FNEG.{S|D}(z) Fn(s), Fn(d)

2.75in FNEG.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FNEG.{S|D}(z) <ea>(e), Fn(d)

Format: Instruction format for FNEG.{S|D}(z) <ea>(e), Fn(d)

2.75in FNEG.{S|D}(z) Fn(s), <ea>(e)

Format: Instruction format for FNEG.{S|D}(z) Fn(s), <ea>(e)

Format: Instruction format for FNEG.{S|D}(z) Fn(s), <ea>(e)

dstexcluded: immediate [invalid_destination]