public static bool validRange(uint low, uint high, bool debug) { if (debug) { return(true); } return(ValidMemory.rangeCheckId(low) == ValidMemory.rangeCheckId(high - 1U)); }
public static bool validAddress(uint address, bool debug) { if (debug) { return(true); } return(ValidMemory.rangeCheckId(address) >= 0); }
public static AddressType rangeCheck(uint address) { int index = ValidMemory.rangeCheckId(address); if (index == -1) { return(AddressType.Unknown); } return(ValidMemory.ValidAreas[index].description); }
public static bool validRange(uint low, uint high) { return(ValidMemory.validRange(low, high, ValidMemory.addressDebug)); }
public static bool validAddress(uint address) { return(ValidMemory.validAddress(address, ValidMemory.addressDebug)); }