Implement MUL

This commit is contained in:
2025-12-30 16:56:09 +01:00
parent 9a9bef7dd7
commit e5c5312566
2 changed files with 11 additions and 0 deletions

9
src/instructions/rvm.rs Normal file
View File

@@ -0,0 +1,9 @@
// Copyright (c) 2025 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 crate::{core::Core, decode::Instruction, exceptions::Exception};
instr_op_r!(mul, u64::wrapping_mul);