summaryrefslogtreecommitdiff
path: root/usr.bin/oasm/label.c
AgeCommit message (Collapse)Author
3 daysoasm: Add stdbool.h includesIan Moffett
Signed-off-by: Ian Moffett <ian@osmora.org>
3 daysoasm: Add table to keep track of labelsIan Moffett
Implement a hash table used to store a maximum of 128 labels. This commit adds functions such as label_enter() to add labels to the table, label_lookup() to lookup labels as well as various utility functions used internally by the assembler. Signed-off-by: Ian Moffett <ian@osmora.org>