示例#1
0
 public static bool validRange(uint low, uint high, bool debug)
 {
     if (debug)
     {
         return(true);
     }
     return(ValidMemory.rangeCheckId(low) == ValidMemory.rangeCheckId(high - 1U));
 }
示例#2
0
 public static bool validAddress(uint address, bool debug)
 {
     if (debug)
     {
         return(true);
     }
     return(ValidMemory.rangeCheckId(address) >= 0);
 }
示例#3
0
        public static AddressType rangeCheck(uint address)
        {
            int index = ValidMemory.rangeCheckId(address);

            if (index == -1)
            {
                return(AddressType.Unknown);
            }
            return(ValidMemory.ValidAreas[index].description);
        }
示例#4
0
 public static bool validRange(uint low, uint high)
 {
     return(ValidMemory.validRange(low, high, ValidMemory.addressDebug));
 }
示例#5
0
 public static bool validAddress(uint address)
 {
     return(ValidMemory.validAddress(address, ValidMemory.addressDebug));
 }