mirror of
https://github.com/rkujawa/rk65c02.git
synced 2025-08-18 21:36:28 +00:00
Add bit testing macro.
This commit is contained in:
@@ -33,6 +33,8 @@ struct reg_state {
|
||||
#define STACK_START 0x0100
|
||||
#define STACK_END 0x01FF
|
||||
|
||||
#define BIT(val,n) ((val) & (1 << (n)))
|
||||
|
||||
typedef struct reg_state reg_state_t;
|
||||
|
||||
struct rk65c02emu {
|
||||
|
Reference in New Issue
Block a user