fsub

Floating-Point Subtract (Scalar)

FSUB <Hd|Sd|Dd>, <Hn|Sn|Dn>, <Hm|Sm|Dm>

Subtracts two floating-point values.

Details

The Floating-Point Subtract instruction subtracts two floating-point values.

Pseudocode Operation

Vd ← Vn - Vm
// Flags affected: N, Z, C, V

Example

FSUB Dd, Dn, Dm

Encoding

Binary Layout
00011110
type
001100
Rm
001000
Rn
Rd
 
Format FP Data Processing
Opcode 0x1E203800
Extension Floating Point

Operands

  • Vd
    Destination SIMD/FP vector register
  • Vn
    First source SIMD/FP vector register
  • Vm
    Second source SIMD/FP vector register