Added more definitions.

This commit is contained in:
Creeper Lv
2026-05-25 14:24:15 +10:00
parent b35596a19a
commit 7cc7e1bf40
8 changed files with 153 additions and 8 deletions
+6 -2
View File
@@ -34,7 +34,7 @@ typedef enum SagittariusInstDef
* |0|1|2..7|8..15(another instruction struct)|
* |set|length(1-8 bytes)|padding|payload|
*/
set,
set,
/**
* Move data from one register to another.
* Layout:
@@ -128,10 +128,13 @@ typedef enum SagittariusInstDef
*/
syscall,
/**
* Test System Call
* Test System Call, for its existence.
*
* Layout:
* |0|1|2|3|
* |tsyscall|namespace reg| function id reg| result reg|
*
* 0 - failed, 1 - success, other values are reserved for future use.
*/
tsyscall,
} SagittariusInstDef;
@@ -157,6 +160,7 @@ typedef enum math1op
sag_math1_acos,
sag_math1_atan,
sag_math1_abs,
sag_math1_exp,
} math1op;
typedef enum sagittarius_type
{