// // Created by chepycou on 4/18/23. // #ifndef PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H #define PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H #define START_TABLE_SIZE 128 #define LINE_MAX_LENGTH 50 typedef struct { char name[LINE_MAX_LENGTH]; int jumpLine; } ASMLine; /*============================ Array and Reallocation ============================*/ /*reallocates the array with the specified size*/ void reallocateArray(int size); /*Checks for the length of the array and reallocates if necessary*/ void checkArraySanity(); /* /!\ To be called at the beginning * Initializes the array of Symbols*/ void initASMTable(); #endif //PROJET_SYSTEMES_INFORMATIQUES_ASMTABLE_H