blez

RISC-V blez Pseudo-Instruction Details

Assembler pseudo-instruction

blez expands to bge x0, rs, offset. It branches when rs is less than or equal to zero under signed comparison.

What You Write
blez rs, offset
Typical Real Expansion
bge x0, rs, offset

What This Pseudo Instruction Is Saving You From Writing

A BGE spelling with x0 as the first operand.

How To Read The Expansion

Step 1
bge x0, rs, 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 blez expansion?

bge x0, rs, offset