; runOffTest.asm ; A program that runs off the end of itself. ; ; THIS IS WHY 0x00 IS NOT AN INSTRUCTION. Program Memory that has never been written, or a ; load that stopped part way and left zeroes in its tail, used to read as a long run of ; additions - the machine would carry on through them, arrive somewhere unpredictable, and ; whatever went wrong there would be a long way from the byte that caused it. ; ; Nothing in 0x00 to 0x0F is an instruction now, so a run into blank memory faults where it ; is met and says the address. That is the difference between a diagnosis and a search, and ; it costs an opcode block nobody was using. ; ; The program does not halt. It is not supposed to: falling off the end IS the test. ; ; Written by Anachronaut #Program start: INIA 0x2E ; "." OUTA 0x00