summaryrefslogtreecommitdiff
path: root/src/instructions/rva.rs
blob: fd570566061277c9412ab7d32ff03a86b8dfc736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Copyright (c) 2026 taitep
// SPDX-License-Identifier: BSD-2-Clause
//
// This file is part of TRVE (https://gitea.taitep.se/taitep/trve)
// See LICENSE file in the project root for full license text.

use super::illegal;
use crate::{core::Core, decode::Instruction, exceptions::Exception};

pub(super) fn find_and_exec(instr: Instruction, core: &mut Core) -> Result<(), Exception> {
    match (instr.funct3(), instr.funct5()) {
        _ => illegal(instr),
    }
}