Kestrel Interface
Loading...
Searching...
No Matches
kest_asm_parser.h
Go to the documentation of this file.
1#ifndef ASM_H_
2#define ASM_H_
3
4#define KEST_ASM_ARG_CHANNEL 0
5#define KEST_ASM_ARG_EXPR 1
6#define KEST_ASM_ARG_RES 2
7#define KEST_ASM_ARG_INT 3
8
9#define INSTR_MAX_ARGS 4
10
11typedef struct {
12 int type;
15
16#define KEST_ARG_POS_NONE -1
17
18typedef struct {
19 int n_args;
27
28typedef struct {
29 int type;
30 int addr;
31 int val;
34 const char *res_name;
36
43
44typedef struct {
45 const char *instr;
48 int n_args;
50
52
55
56#endif
#define INSTR_MAX_ARGS
int kest_parse_asm(kest_eff_parsing_state *ps)
int kest_process_asm_lines(kest_eff_parsing_state *ps)
#define DECLARE_LINKED_PTR_LIST(X)
struct kest_expression * expr
kest_asm_operand args[INSTR_MAX_ARGS]
const char * instr
kest_asm_arg args[INSTR_MAX_ARGS]
struct kest_expression * expr
kest_dsp_resource * res
const char * res_name