= "Enter") {
          const command = this.value.trim();
          this.value = "";
          executeCommand(command);
        }
      });

      function executeCommand(command) {
        log(`> ${command}`);

        if (currentModule === "cpu" || currentModule === "assembler") {
          log("Executing extended 6510 assembly...");
          log("A=$FFFFFFFFFFFFFFFF X=$0000000000000000 Y=$0000000000000000");
          log("PC=$0000000000000400 SP=$00000000000000FD");
        } else if (currentModule ===