Skip to content

SUBW

32-bit Base **Group:** Arithmetic Operation 32bit  |  Ch 12   ALU — Arithmetic Logic Unit  |  **Length:** 32  |  **Decode:**

Assembly Syntax

  • subw SrcL, SrcR<{.sw,.uw,.neg}><<<shamt>, ->{t, u, Rd}

Encoding

SUBW encoding
Bitfield encoding diagram. MSB is on the left, LSB on the right.

Description

32-bit word integer subtraction.

Pseudocode (informative)

// Execute SUBW as defined by the Arithmetic Operation 32bit semantics.

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
subw SrcL, SrcR<{.sw,.uw,.neg}><<<shamt>, ->{t, u, Rd} 32
← [Arithmetic Operation 32bit](../groups/arithmetic_operation_32bit.md)    [Index](../index.md)    [All instructions](index.md) →