From be71bab97e48234218f6f48f5e46bbb686609f55 Mon Sep 17 00:00:00 2001 From: SimonFJ20 Date: Fri, 1 Nov 2024 12:23:28 +0100 Subject: [PATCH] add arch --- architecture.txt | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 architecture.txt diff --git a/architecture.txt b/architecture.txt new file mode 100644 index 0000000..c7a34d4 --- /dev/null +++ b/architecture.txt @@ -0,0 +1,34 @@ + + + +Mnemonic Arg Arg description +---------------------------------------- +Nop +PushNull +PushInt int initial value +PushString string initial value +PushArray +PushStruct +PushPtr ptr pointer value +Pop +LoadLocal int stack position +StoreLocal int stack position +Call +Return +Jump +JumpIfNotZero +Add +Subtract +Multiply +Divide +Remainder +Equal +LessThan +And +Or +Xor +Not + + + +