s502 assembler
A very simple assembler for the 6502 line of processors written in C
util.h
Go to the documentation of this file.
1 #ifndef GUARD_UTIL
2 #define GUARD_UTIL
3 
14 char* util_find_string_segment(char* ptr);
15 
22 int util_match_char(char a, char b);
23 
31 int util_match_string(char* first, char* second, int count);
32 
33 
34 
45 char** util_split_string(char* str, int* n);
46 
47 #endif
util_find_string_segment
char * util_find_string_segment(char *ptr)
find pointer to next space or null in string
Definition: util.c:15
util_match_char
int util_match_char(char a, char b)
Case-insensitive character compare.
Definition: util.c:21
util_split_string
char ** util_split_string(char *str, int *n)
split a string into segments on spaces
Definition: util.c:39
util_match_string
int util_match_string(char *first, char *second, int count)
case-insensitive memcmp
Definition: util.c:32