From 62480cd55b67e10128b9a49821d94c3c5117830f Mon Sep 17 00:00:00 2001 From: biouman <> Date: Sun, 15 Apr 2001 02:12:11 +0000 Subject: mergeage de la branche simulateur avec la branche asm --- include/alu.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 include/alu.h (limited to 'include/alu.h') diff --git a/include/alu.h b/include/alu.h new file mode 100644 index 0000000..916a626 --- /dev/null +++ b/include/alu.h @@ -0,0 +1,18 @@ +#ifndef __ALU_H__ +#define __ALU_H__ +#include "archi.h" + +Uint32 AdditionNonSigne(Uint32 a, Uint32 b); +Uint32 AdditionSigne(Uint32 a, Uint32 b); +Uint32 SoustractionNonSigne(Uint32 a, Uint32 b); +Uint32 SoustractionSigne(Uint32 a, Uint32 b); +Uint32 MultiplicationNonSigne(Uint32 a, Uint32 b); +Uint32 MultiplicationSigne(Uint32 a, Uint32 b); +Uint32 DivisionNonSigne(Uint32 a, Uint32 b); +Uint32 DivisionSigne(Uint32 a, Uint32 b); +Uint32 AND(Uint32 a, Uint32 b); +Uint32 OR(Uint32 a, Uint32 b); +Uint32 SHL(Uint32 a); +Uint32 SHR(Uint32 a); + +#endif \ No newline at end of file -- cgit v1.2.3