ISARef Multi-ISA & Silicon Reference
45,419 ISA items · 105,907 timings · 913 microarchs · 15,555 chips · 105 sources
Arch:
Tier:

c.zext.h

T1 riscv alu insn
Zero-extend halfword, 16-bit encoding
SourceRISC-V Official Unified Database (riscv-unified-db) (riscv_unified_db)
Reliability TierT1 — Official Specification
ISA / Silicon ScopeRV32/RV64 Zbb, Zcb
RV32 / RV64 (Ratified & Standard Extensions)
License & VersionApache-2.0 / CC-BY-4.0
main
Upstreamhttps://github.com/riscv/riscv-unified-db
Privilegeuser
ExtensionsZbb, Zcb

Summary

Takes a single source/destination operand. This instruction zero-extends the least-significant halfword of the source to XLEN by inserting 0's into all of the bits more significant than 15.

Syntax / Encoding

c.zext.h xd | 100111xxx1101001 (mask=0xfc7f match=0x9c69)

Binary Encodings (1)

WidthFormatBit PatternMask / Match
16RV100111xxx11010010xfc7f / 0x9c69

Operands

NameDescription
xdbits [9:7]