aboutsummaryrefslogtreecommitdiff
path: root/riscv/insns/c_beqz.h
blob: 35c119603d08ab51bc87d391a324e24a7d0cf972 (plain)
1
2
3
require_extension('C');
if (RVC_RS1S == 0)
  set_pc(pc + insn.rvc_b_imm());