disc-v 0.1.3

A RISC-V disassembler
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
// Copyright (c) 2026 Christopher Swenson
// Licensed under the Apache-2.0 license.

//! Zicond: integer conditional operations.

use super::{Codec, Opcode, fmt};
use crate::Extension;

pub(crate) static CZERO_EQZ: Opcode =
    Opcode::new("czero.eqz", Codec::R, fmt::RD_RS1_RS2).requires(&[Extension::Zicond]);
pub(crate) static CZERO_NEZ: Opcode =
    Opcode::new("czero.nez", Codec::R, fmt::RD_RS1_RS2).requires(&[Extension::Zicond]);