GE-115 Emulator
An Emulator of the General Electrics GE-115 computer
|
Bit manipulation helpers. More...
Go to the source code of this file.
Macros | |
#define | BIT(V, X) ( !!(V & (1 << X))) |
#define | SET_BIT(R, X) (R = (R | (1 << X))) |
#define | RESET_BIT(R, X) (R = (R & ~(1 << X))) |
#define | NIBBLE_MASK(X) (0xf << ((X-1)*4)) |
Bit manipulation helpers.
Definition in file bit.h.