// (C) 2016 University of Bristol. See License.txt #include "Processor/Program.h" #include "Processor/Data_Files.h" #include "Processor/Processor.h" void Program::compute_constants() { max_reg2 = 0; max_regp = 0; max_regi = 0; for (int reg_type = 0; reg_type < MAX_REG_TYPE; reg_type++) for (int sec_type = 0; sec_type < MAX_SECRECY_TYPE; sec_type++) max_mem[reg_type][sec_type] = 0; for (unsigned int i=0; i