mmu code cleaning: added macros for REG_I* (IE, IME, IF).
renamed MMU.REG_I* to MMU.reg_I*
This commit is contained in:
parent
d2dcc53a9e
commit
d75ecf4db8
|
@ -1,6 +1,8 @@
|
|||
#ifndef BITS_H
|
||||
#define BITS_H
|
||||
|
||||
#define BIT(n) BIT_N(1,n)
|
||||
|
||||
#define BIT_N(i,n) (((i)>>(n))&1)
|
||||
#define BIT0(i) ((i)&1)
|
||||
#define BIT1(i) BIT_N(i,1)
|
||||
|
|
Loading…
Reference in New Issue