Add VM opcodes NOP, LANG, and SANG
- To simplify code generation genericizing, add three new opcodes * NOP: No-Operation * LANG: Load Angle - load a BAM angle into a float reg as degrees * SANG: Save Angle - store a float reg into a BEM angle, converting from degrees
This commit is contained in:
parent
a69089ffd7
commit
3ea0d1b444
3 changed files with 32 additions and 0 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "vm.h"
|
||||
#include "c_console.h"
|
||||
|
||||
#define NOP MODE_AUNUSED | MODE_BUNUSED | MODE_CUNUSED
|
||||
|
||||
#define LI MODE_AI | MODE_BCJOINT | MODE_BCIMMS
|
||||
#define LKI MODE_AI | MODE_BCJOINT | MODE_BCKI
|
||||
#define LKF MODE_AF | MODE_BCJOINT | MODE_BCKF
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue