Skip to content

FTRUNC

Operation

Rounds a floating-point source toward zero in the same format.

Assembler Syntax

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

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

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

Privilege

Unprivileged

Required CPUID flags

FP

Repeat eligibility

REP eligible

Rounds the selected floating-point source toward zero to an integral value in the same floating-point format.

2.75in

Encodings

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

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

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

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

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

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

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

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

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

dstexcluded: immediate [invalid_destination]