aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Structure/Instructions/Instrs/Numeric/I32Const.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/Structure/Instructions/Instrs/Numeric/I32Const.php')
-rw-r--r--src/Structure/Instructions/Instrs/Numeric/I32Const.php18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Structure/Instructions/Instrs/Numeric/I32Const.php b/src/Structure/Instructions/Instrs/Numeric/I32Const.php
new file mode 100644
index 0000000..7beaae0
--- /dev/null
+++ b/src/Structure/Instructions/Instrs/Numeric/I32Const.php
@@ -0,0 +1,18 @@
+<?php
+
+declare(strict_types=1);
+
+namespace Nsfisis\Waddiwasi\Structure\Instructions\Instrs\Numeric;
+
+use Nsfisis\Waddiwasi\Structure\Instructions\Instr;
+
+final readonly class I32Const extends Instr
+{
+ /**
+ * @param U32 $value
+ */
+ public function __construct(
+ public int $value,
+ ) {
+ }
+}