diff --git a/crates/tools/pbxgen-stress/src/lib.rs b/crates/tools/pbxgen-stress/src/lib.rs index a019a73f..18509351 100644 --- a/crates/tools/pbxgen-stress/src/lib.rs +++ b/crates/tools/pbxgen-stress/src/lib.rs @@ -168,7 +168,7 @@ fn heavy_load(rom: &mut Vec) { // y = (i * 30 + t) % 180 rom.extend(asm("GET_LOCAL 1\nPUSH_I32 30\nMUL\nGET_GLOBAL 0\nADD\nPUSH_I32 180\nMOD")); // string (toggle between "stress" and "frame") - rom.extend(asm("GET_LOCAL 1\nPUSH_I32 1\nBIT_AND")); + rom.extend(asm("GET_LOCAL 1\nPUSH_I32 1\nBIT_AND\nPUSH_I32 0\nNEQ")); let jif_text_alt_offset = rom.len() + 2; rom.extend(asm("JMP_IF_FALSE 0")); rom.extend(asm("PUSH_CONST 0")); // "stress" diff --git a/test-cartridges/stress-console/program.pbx b/test-cartridges/stress-console/program.pbx index c5b08acf..3c7e6c0e 100644 Binary files a/test-cartridges/stress-console/program.pbx and b/test-cartridges/stress-console/program.pbx differ