File: proto.h

package info (click to toggle)
alsa-tools 1.0.28-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 12,464 kB
  • ctags: 5,787
  • sloc: ansic: 23,609; cpp: 15,057; sh: 12,305; pascal: 1,140; asm: 1,053; xml: 814; makefile: 733; python: 250
file content (44 lines) | stat: -rw-r--r-- 1,082 bytes parent folder | download | duplicates (10)
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
35
36
37
38
39
40
41
42
43
44
#ifndef PROTO_H
#define PROTO_H

//as10k1.c:

void as_exit(const char *message);
void asm_open(char *name);
void header(void);

//assemble.c:
void op(int,int,int,int,int);
int arg_decode(char *operand,int prev_val);
int arg_decode2(char *operand);
int symbol2index(char *operand, int *flag);
long arg2long(char *operand);
void update_symbol(char *name,u16 type,u16 address, u32 value);
void add_symbol(char *name,u16 type,u16 address, u32 value);
int declared(int operand,int i);
//parse.c:
int parse( char line_string[MAX_LINE_LENGTH], char *line);
int op_decode(char *op_name_ptr);
void new_symbol( char *name_ptr, int constant);
void new_dc(char *symbol,long value, int addr);
int issymbol(char *symbol,struct sym **sym);
void for_handler(char *begin, char *operand );
int symcmp (char *symbol1,char *symbol2);
void symcpy (char *dest, char *source);
//macro.c
void new_macro(char *symbol, char *line, char *operands);
void macro_expand(int macnum,char * operand);
void macro_operand(char *line,char *value);
int ismacro(char *mac);


#define DSP_CODE_SIZE 0x400 

#endif