Skip to content

AND

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

Assembly Syntax

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

Encoding

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

Description

Bitwise AND of two registers.

Pseudocode (informative)

rd = rs1 & rs2;

Encoding Notes

No additional encoding notes.

Full Catalog Forms

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