public static void assertMemoryWrite(String type, int pc, int address, int ins) { if (address >= CRunTime.memoryReadWord(16) && address < CRunTime.memoryReadWord(20)) { Logger.log(type + " on 0x" + pc + " memory[0x" + address + "] = 0x" + ins + ""); } }