Séparations des instructions

This commit is contained in:
2021-12-17 23:06:57 +01:00
parent d24c7eeedf
commit 7fe766df11
4 changed files with 162 additions and 146 deletions

7
mars_execution.h Normal file
View File

@@ -0,0 +1,7 @@
#ifndef MARS_EXECUTION_H
#define MARS_EXECUTION_H
#include"options.h"
int calculer_position(int posActuelle, short int modeAddr, short int valeur, struct adresse memoire[TAILLE_MEM]);
void execute_instruction(union mars_instruction instruction, int player, struct adresse memoire[TAILLE_MEM], int positions[2]);
#endif