// (C) 2017 University of Bristol. See License.txt #include "Processor/Program.h" #include "Processor/Data_Files.h" #include "Processor/Processor.h" void Program::compute_constants() { for (int reg_type = 0; reg_type < MAX_REG_TYPE; reg_type++) { max_reg[reg_type] = 0; 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