Display IP first, in debug logs

This commit is contained in:
n loewen 2023-08-02 11:22:40 +01:00
parent 5fecefdc91
commit 77f4c93d1f
1 changed files with 1 additions and 1 deletions

View File

@ -201,7 +201,7 @@ exports.runProgram = async (code, debug = false) => {
function logCPUState() {
console.log();
console.log( `Acc: ${CPU.Acc} IP: ${CPU.IP} CF: ${CPU.CF}  ${CPU.running ? "running" : "halted" }` );
console.log( `IP: ${CPU.IP} Acc: ${CPU.Acc} CF: ${CPU.CF}  ${CPU.running ? "running" : "halted" }` );
console.log();
};