bgez
RISC-V bgez Pseudo-Instruction Details
Assembler pseudo-instructionbgez expands to bge rs, x0, offset. BGE is signed and uses a B-type offset.
What You Write
bgez rs, offset
Typical Real Expansion
bge rs, x0, offset
What This Pseudo Instruction Is Saving You From Writing
A BGE spelling with x0 as the second operand.
How To Read The Expansion
Step 1
bge rs, x0, offset
Official References And Reading Order
This page treats pseudo-instructions as assembler-level aliases or macros: first read what real instructions they expand to, then use the official ISA manual for the behavior of those real instructions. ABI, relocation, and linker-relaxation details follow the psABI document.
FAQ
What is the official expansion of bgez?
bgez rs, offset expands to bge rs, x0, offset.