mirror of
https://github.com/rkujawa/rk65c02.git
synced 2024-12-11 18:49:16 +00:00
Add bit testing macro.
This commit is contained in:
parent
95db0b7dd2
commit
7915657355
@ -33,6 +33,8 @@ struct reg_state {
|
|||||||
#define STACK_START 0x0100
|
#define STACK_START 0x0100
|
||||||
#define STACK_END 0x01FF
|
#define STACK_END 0x01FF
|
||||||
|
|
||||||
|
#define BIT(val,n) ((val) & (1 << (n)))
|
||||||
|
|
||||||
typedef struct reg_state reg_state_t;
|
typedef struct reg_state reg_state_t;
|
||||||
|
|
||||||
struct rk65c02emu {
|
struct rk65c02emu {
|
||||||
|
Loading…
Reference in New Issue
Block a user