HLV.B
Hypervisor Load Byte
HLV.B rd, (rs1)
Loads a byte from Guest Physical Memory (VS-stage translation only).
Details
HLV.B performs a virtual-machine load of a byte from the address in rs1, using the virtual supervisor address space (VS-mode translation). The result is sign-extended and written to rd.
Pseudocode Operation
R[rd] = sext(GuestMem[R[rs1]][7:0]);
Example
HLV.B x10, (x11)
Encoding
Binary Layout
0110000
31:25
00000
24:20
rs1
19:15
100
14:12
rd
11:7
1110011
6:0
Operands
-
rd
Destination register (integer) -
rs1
Guest Address