1
0
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:
Radosław Kujawa 2017-01-25 10:09:50 +01:00
parent 95db0b7dd2
commit 7915657355

View File

@ -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 {