forked from pfaure/CrossAssembleur
26 lines
758 B
C
26 lines
758 B
C
#ifndef TABLE_H
|
|
#define TABLE_H
|
|
|
|
/*
|
|
----------------------------------------
|
|
| Adresse | Registre | Modifié |
|
|
----------------------------------------
|
|
| | | |
|
|
| | | |
|
|
| | | |
|
|
| i | 0x777756b8 | int |
|
|
| size | 0x777756b8 | int |
|
|
----------------------------------------
|
|
*/
|
|
|
|
#include <stdint.h>
|
|
#include <stdio.h>
|
|
|
|
void init(void);
|
|
void increment_time();
|
|
int get_reg_read(int adresse, FILE * file, int * added_instruction);
|
|
int get_reg_write(int adresse, FILE * file, int * added_instruction);
|
|
int flush_and_init(FILE * file);
|
|
void new_instruction(int nb_inst);
|
|
|
|
#endif
|