projects
/
calu.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
sim: added shift
[calu.git]
/
3b_sim
/
ccpu.hpp
diff --git
a/3b_sim/ccpu.hpp
b/3b_sim/ccpu.hpp
index 24f6f31b073da00fe23c1c1adfa35ee70a4323f4..0dd8b1bde760d5942aaabeae35ac1b8fe33afd91 100644
(file)
--- a/
3b_sim/ccpu.hpp
+++ b/
3b_sim/ccpu.hpp
@@
-45,7
+45,10
@@
class CCpu {
void updateFlags(CDatd, CDat, CDat);
/* will change all flags */
void updateFlags(bool z, bool o, bool c, bool s);
-
+ /* will change carry */
+ void updateCarry(bool c);
+
+ bool getCarry();
bool conditionMet(short);