C.ZEXT.B

Compressed Zero Extend Byte

C.ZEXT.B rd'

Zero extends the lowest byte of rd' to XLEN.

Details

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

Pseudocode Operation

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

Example

C.ZEXT.B rd'

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