implemented spec change: now cell 127 always return 1
This commit is contained in:
@@ -27,6 +27,7 @@ function ilexec(lno, cmd, x, y, z, halt, data_override, bcheck, i, v1, v2, v3)
|
||||
while(halt == 0) {
|
||||
if(traceflag) printf("PC: %hu INSTR: %hu %hu %hu %hu\n", lno, cmd, x, y, z)
|
||||
DMEM[0] = data_override = 0 # force the value at 0 to be always 0
|
||||
DMEM[127] = 1 # force the value at 127 to always be 1
|
||||
bcheck = (x < MEMLIMIT) && (y < MEMLIMIT) && (z < MEMLIMIT)
|
||||
if(bcheck) {
|
||||
v1 = DMEM[x]; v2 = DMEM[y]; v3 = DMEM[z] # prefetch the memory values
|
||||
|
||||
Reference in New Issue
Block a user