CrossAssembleur/tables.h
2021-05-04 13:39:52 +02:00

31 lines
744 B
C

#ifndef TABLE_H
#define TABLE_H
/*
----------------------------------------
| Adresse | Registre | Modifié |
----------------------------------------
| | | |
| | | |
| | | |
| i | 0x777756b8 | int |
| size | 0x777756b8 | int |
----------------------------------------
*/
#include <stdint.h>
#include <stdio.h>
struct case_adresse {
int adresse;
int registre;
char modifie;
};
void init(void);
void increment_time();
int get_reg_read(int adresse, FILE * file);
int get_reg_write(int adresse, FILE * file);
void flush_and_init(FILE * file);
#endif