projects
/
emu8051.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add overflow and auxiliary carry flags manipulation functions
[emu8051.git]
/
src
/
psw.h
diff --git
a/src/psw.h
b/src/psw.h
index
78d700f
..
f4c1bb4
100644
(file)
--- a/
src/psw.h
+++ b/
src/psw.h
@@
-35,4
+35,28
@@
psw_write_cy(int cy);
int
psw_read_cy(void);
int
psw_read_cy(void);
+void
+psw_set_ac(void);
+
+void
+psw_clr_ac(void);
+
+void
+psw_write_ac(int ac);
+
+int
+psw_read_ac(void);
+
+void
+psw_set_ov(void);
+
+void
+psw_clr_ov(void);
+
+void
+psw_write_ov(int ov);
+
+int
+psw_read_ov(void);
+
#endif /* PSW_H */
#endif /* PSW_H */