diff options
author | biouman <> | 2001-04-16 19:32:34 +0000 |
---|---|---|
committer | biouman <> | 2001-04-16 19:32:34 +0000 |
commit | 648f8946603b1d994100ebed8dce027b2a70c8d4 (patch) | |
tree | 1f82c7a604c442b389e22775891eb54bfd1b3863 | |
parent | 9608fc23272222a5472444514c044b736108e33d (diff) |
*** empty log message ***
-rw-r--r-- | include/simulator.h | 4 | ||||
-rw-r--r-- | lib/simulator.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/include/simulator.h b/include/simulator.h index c158a56..8780350 100644 --- a/include/simulator.h +++ b/include/simulator.h @@ -23,6 +23,6 @@ void DecodeExec(Uint32 instruction, Uint32 entrypoint); void Traitement(Uint32 entrypoint); void AfficheReg(void); void Debogueur(void); +void ChargeBinaire(char * filename); - -#endif +#endif
\ No newline at end of file diff --git a/lib/simulator.c b/lib/simulator.c index 633085f..b8f5495 100644 --- a/lib/simulator.c +++ b/lib/simulator.c @@ -427,7 +427,7 @@ EcrireRegistreSP(ADD_SP); /* initialisation du stack pointer */ EcrireRegistrePC(LireRegistrePC()+base_addr); /* maj de PC */ - +base_addr+=nb+ns+nbss; fclose(file); |