Skip to content

C.OR

16-bit C. **Group:** Arithmetic Operation  |  Ch 12   ALU — Arithmetic Logic Unit  |  **Length:** 16  |  **Decode:**

Assembly Syntax

  • c.or srcL, srcR, ->t

Encoding

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

Description

[16-bit C.] Bitwise OR.

Pseudocode (informative)

rd = rs1 | rs2;

Encoding Notes

No additional encoding notes.

Full Catalog Forms

Assembly Length Decode
c.or srcL, srcR, ->t 16
← [Arithmetic Operation](../groups/arithmetic_operation.md)    [Index](../index.md)    [All instructions](index.md) →