summaryrefslogtreecommitdiff
path: root/src/instructions/rvm.rs
diff options
context:
space:
mode:
authortaitep <taitep@taitep.se>2025-12-30 16:56:09 +0100
committertaitep <taitep@taitep.se>2025-12-30 16:56:09 +0100
commite5c531256689883ac37549b3b9b15c4bd4b003ff (patch)
treeafe837d6c7cf6ed797f6fc2b5b9a966dc83c64e8 /src/instructions/rvm.rs
parent9a9bef7dd7dce7d5c10b7cf49a42478ad85829ac (diff)
Implement MUL
Diffstat (limited to 'src/instructions/rvm.rs')
-rw-r--r--src/instructions/rvm.rs9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/instructions/rvm.rs b/src/instructions/rvm.rs
new file mode 100644
index 0000000..475fc58
--- /dev/null
+++ b/src/instructions/rvm.rs
@@ -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);