Added more definitions.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user