2023-08-17 21:43:38 +02:00
|
|
|
#ifndef _LABELS_H_
|
|
|
|
#define _LABELS_H_
|
|
|
|
|
|
|
|
#include "../header/common.h"
|
|
|
|
#include "../header/shash/shash.h"
|
|
|
|
|
|
|
|
void build_label_table(char label_tokens[][MAX_TOKEN_SIZE], shash_hashtable_t *label_table);
|
|
|
|
|
|
|
|
void remove_label_definition_tokens(char label_tokens[][MAX_TOKEN_SIZE], char no_label_definition_tokens[][MAX_TOKEN_SIZE]);
|
|
|
|
|
2023-09-07 18:41:46 +02:00
|
|
|
void replace_labels_with_adresses(char no_label_definition_tokens[][MAX_TOKEN_SIZE], char tokens[][MAX_TOKEN_SIZE], shash_hashtable_t label_table, shash_hashtable_t instruction_information_table);
|
2023-08-17 21:43:38 +02:00
|
|
|
#endif
|