Assembler/header/labels.h

14 lines
540 B
C
Raw Normal View History

#ifndef _LABELS_H_
#define _LABELS_H_
#include "../header/common.h"
#include "../header/shash/shash.h"
2023-09-21 12:39:28 +02:00
#include "dyn_buf.h"
void build_label_table(char label_tokens[][MAX_TOKEN_SIZE], shash_hashtable_t *label_table);
2023-09-21 12:39:28 +02:00
void remove_label_definition_tokens(char label_tokens[][MAX_TOKEN_SIZE], dynamic_buffer_t *no_label_definition_tokens);
void replace_labels_with_adresses(char no_label_definition_tokens[][MAX_TOKEN_SIZE], dynamic_buffer_t *tokens, shash_hashtable_t label_table, shash_hashtable_t instruction_information_table);
#endif