diff options
Diffstat (limited to 'src/runtime.h')
-rw-r--r-- | src/runtime.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/runtime.h b/src/runtime.h index ea4edb9..2ec01df 100644 --- a/src/runtime.h +++ b/src/runtime.h @@ -141,4 +141,14 @@ static const xor_f XOR_ROUTINES[] = { [OP_XOR_WORD] = vm_xor_word, }; +void vm_eq_byte(vm_t *); +void vm_eq_hword(vm_t *); +void vm_eq_word(vm_t *); +typedef void (*eq_f)(vm_t *); +static const eq_f EQ_ROUTINES[] = { + [OP_EQ_BYTE] = vm_eq_byte, + [OP_EQ_HWORD] = vm_eq_hword, + [OP_EQ_WORD] = vm_eq_word, +}; + #endif |