mmu code cleaning: added macros for REG_I* (IE, IME, IF).

renamed MMU.REG_I* to MMU.reg_I*
This commit is contained in:
thoduv 2006-06-29 19:35:53 +00:00
parent d2dcc53a9e
commit d75ecf4db8
1 changed files with 2 additions and 0 deletions

View File

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