Skip to content

FABS

Operation

Clears the selected floating-point source sign and writes its magnitude.

Assembler Syntax

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

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

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

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Clears the sign of the selected floating-point source value and writes the resulting magnitude to the destination.

2.75in

Encodings

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

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

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

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

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

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

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

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

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

dstexcluded: immediate [invalid_destination]