blob: f20088d5039bd248b8ec761515cec38cfae9fb8c (
plain)
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
|
#include <stdlib.h>
#include <stdint.h>
#include <stdio.h>
#include <string.h>
#define debug 0
extern char *buffer;
extern char *cmd_buf;
extern uint8_t scr_row = 0;
extern uint8_t scr_col = 0;
extern uint8_t scr_trow = 0;
extern uint8_t scr_tcol = 0;
extern uint16_t scr_ptr = 0;
extern uint8_t byte = 0;
extern uint8_t mask = 0;
extern uint8_t a = 0;
extern uint8_t b = 0;
extern uint8_t c = 0;
extern uint8_t d = 0;
extern uint8_t e = 0;
extern uint8_t f = 0;
extern uint8_t bitmask = 0;
extern uint8_t bitabl[16];
extern uint8_t scr_str = 0;
extern uint8_t scr_end = 23;
extern uint8_t wrapped = 0;
extern void print_str(const char *str);
int16_t str_cmp(const char *s0, uint16_t i, const char *s1, uint16_t j)
extern void subasm();
|