Add overflow and auxiliary carry flags manipulation functions
[emu8051.git] / 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);
 
+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 */