ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 1,823 microarchs · 16,083 chips · 105 sources
Arch:
Tier:

c.not

T1 riscv bitmanip insn
Bitwise not, 16-bit encoding
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zcb, Zkt-DIT
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZcb, Zkt-DIT

Summary

Takes a single source/destination operand. This instruction takes the one's complement of xd'/xs1' and writes the result to the same register.

Syntax / Encoding

c.not xd | 100111xxx1110101 (mask=0xfc7f match=0x9c75)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
16RV100111xxx11101010xfc7f / 0x9c75

Operands

NameDescription
xdbits [9:7]