114 int getBit (
int value,
int position);
121 int setBit (
int value,
int position);
128 int clearBit (
int value,
int position);
143 int getField (
int value,
int hi,
int lo,
bool isSigned);
154 int setField (
int oldValue,
int hi,
int lo,
int newValue);
162 int fieldFits (
int value,
int width,
bool isSigned);
int clearBit(int value, int position)
Definition: field.c:27
int setField(int oldValue, int hi, int lo, int newValue)
Definition: field.c:37
int fieldFits(int value, int width, bool isSigned)
Definition: field.c:42
int setBit(int value, int position)
Definition: field.c:22
int getBit(int value, int position)
Definition: field.c:17
int getField(int value, int hi, int lo, bool isSigned)
Definition: field.c:32