From d3e8af85a601cc5b831f02beff4ac415c21f1e8d Mon Sep 17 00:00:00 2001 From: taitep Date: Mon, 12 Jan 2026 17:25:02 +0100 Subject: Add the files and decode logic for RVA --- src/instructions/rva.rs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 src/instructions/rva.rs (limited to 'src/instructions') diff --git a/src/instructions/rva.rs b/src/instructions/rva.rs new file mode 100644 index 0000000..fd57056 --- /dev/null +++ b/src/instructions/rva.rs @@ -0,0 +1,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), + } +} -- cgit v1.2.3