89c89
< MachineID mapAddressToRange(const Address & addr, MachineType type, int low_bit, int high_bit)
---
> MachineID mapAddressToRange(const Address & addr, MachineType type, int low_bit, int num_bits)
92c92,94
< mach.num = addr.bitSelect(low_bit, high_bit);
---
> if (num_bits == 0)
> return mach;
> mach.num = addr.bitSelect(low_bit, low_bit+num_bits-1);