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
100111
15:10
rd'
9:7
11
6:5
000
4:2
01
1:0
Operands
-
rd'
Dest/Src