Working
git-svn-id: svn://svn.cc65.org/cc65/trunk@2091 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -113,9 +113,9 @@ int CPUHalted;
|
||||
/* Special test and set macros. The meaning of the parameter depends on the
|
||||
* actual flag that should be set or reset.
|
||||
*/
|
||||
#define TEST_ZF(v) SET_ZF (((v) & 0xFF) == 0)
|
||||
#define TEST_SF(v) SET_SF (((v) & 0x80) != 0)
|
||||
#define TEST_CF(v) SET_CF (((v) & 0xFF00) != 0)
|
||||
#define TEST_ZF(v) SET_ZF (((v) & 0xFF) == 0)
|
||||
#define TEST_SF(v) SET_SF (((v) & 0x80) != 0)
|
||||
#define TEST_CF(v) SET_CF (((v) & 0xFF00) != 0)
|
||||
|
||||
/* Program counter halves */
|
||||
#define PCL (PC & 0xFF)
|
||||
|
||||
Reference in New Issue
Block a user