C.ZEXT.B

Compressed Zero Extend Byte

C.ZEXT.B rd'

Zero extends the lowest byte of rd' to XLEN.

Encoding

Binary Layout
?
31:16
100111
15:10
rd_rs1_p
9:7
1100001
6:0
 
Format CR
Opcode 0x00009C61
Extension Zcb

Operands

  • rd'
    Dest/Src

Related

More in Zcb

Description

Zero-extends the least-significant byte of rd′ in place (Zcb).

Operation

R[rd'] = zext(R[rd'][7:0]);