applied placeholders

This commit is contained in:
anon 2024-07-09 15:13:42 +02:00
parent 3537684565
commit da739a9370
2 changed files with 4 additions and 0 deletions

View File

@ -124,6 +124,8 @@ add { return IADD; }
syscall { return ISYSCALL; }
mov { return IMOV; }
xor { return IXOR; }
/* #placeholder<scanner_instructions> COLLAPSED
*/
/* --- Instrunctions end here --- */
<IN_END>{

View File

@ -85,6 +85,7 @@
%token ISYSCALL
%token IMOV
%token IXOR
// #placeholder<token_list> COLLAPSED
// Instruction-likes
%token FASTCALL
@ -226,6 +227,7 @@ instruction: INOP { ; }
| IMOV memory immediate
| IXOR register register
| IXOR register memory
// #placeholder<parser_rules> COLLAPSED
;
repeat: REPEAT code END_REPEAT