libc8
CHIP-8 utility library
encode.h
Go to the documentation of this file.
1
7#ifndef LIBC8_PARSE_H
8#define LIBC8_PARSE_H
9
10#include <stdint.h>
11
12#define ARG_VERBOSE 1
13
14#define C8_ENCODE_MAX_LINE_LENGTH 100
15#define C8_ENCODE_MAX_WORDS 100
16#define C8_ENCODE_MAX_LINES 100
17
18int c8_encode(const char *, uint8_t *, int);
19char *remove_comment(char *);
20
21#endif
int c8_encode(const char *, uint8_t *, int)
Parse the given string.
Definition: encode.c:44
char * remove_comment(char *)
Remove comment from string if exists.
Definition: encode.c:123