From efc88b33e3672435a0ef188f0236e60572d3ce2b Mon Sep 17 00:00:00 2001 From: zhangxun <1958638841@qq.com> Date: Thu, 10 Jul 2025 16:08:21 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20=E8=A1=A5=E5=85=85=20double64=20?= =?UTF-8?q?=E8=BD=AC=E6=8D=A2=E6=8C=87=E4=BB=A4=E7=9A=84=E6=96=87=E6=A1=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/jcnc/snow/vm/engine/VMOpCode.java | 28 +++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jcnc/snow/vm/engine/VMOpCode.java b/src/main/java/org/jcnc/snow/vm/engine/VMOpCode.java index 2bf7ec5..fcf9e49 100644 --- a/src/main/java/org/jcnc/snow/vm/engine/VMOpCode.java +++ b/src/main/java/org/jcnc/snow/vm/engine/VMOpCode.java @@ -2268,9 +2268,33 @@ public class VMOpCode { // endregion Float32 // region Double64 (0x00D9-0xDD) - + /** + * D2B Opcode: Represents the type conversion operation from double64 to byte8 in the virtual machine. + *
This opcode is implemented by the {@link D2BCommand} class, which defines its specific execution logic.
+ * + *Execution Steps:
+ *This opcode is used to narrow a double64 value to a byte8 type for further integer-based processing.
+ */ public static final int D2B = 0x00D9; - + /** + * D2I Opcode: Represents the type conversion operation from double64 to short16 in the virtual machine. + *This opcode is implemented by the {@link D2ICommand} class, which defines its specific execution logic.
+ * + *Execution Steps:
+ *This opcode is used to narrow a double64 value to a short16 type for further integer-based processing.
+ */ public static final int D2S = 0x00DA; /**