aboutsummaryrefslogtreecommitdiff
path: root/src/c8asm/instr.gperf
blob: 333440aa951c37560343a2ccca3e3e13b7714736 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
%compare-lengths
%define initializer-suffix ,nullptr
%define lookup-function-name oplookup
%includes
%language=ANSI-C
%readonly-tables
%struct-type
struct opf_pair { char *name; void (*pfn)(void); };
%%
add,  parseop_add
and,  parseop_and
bcd,  parseop_bcd
call, parseop_call
cls,  parseop_cls
db,   parseop_db
drw,  parseop_drw
hex,  parseop_hex
jp,   parseop_jp
ld,   parseop_ld
or,   parseop_or
ret,  parseop_ret
rnd,  parseop_rnd
rstr, parseop_rstr
se,   parseop_se
shl,  parseop_shl
shr,  parseop_shr
sknp, parseop_sknp
skp,  parseop_skp
sne,  parseop_sne
stor, parseop_stor
sub,  parseop_sub
subn, parseop_subn
sys,  parseop_sys
xor,  parseop_xor