CLI changes

This commit is contained in:
2026-04-27 13:13:22 +02:00
parent 43759e720b
commit 5a3ea41a03
2 changed files with 15 additions and 3 deletions
+5 -1
View File
@@ -60,11 +60,15 @@ def run_classic_cli():
print("Done.")
def run_exhaustive_cli():
print("\nR registers are indexed 07; bits within each register are 07.")
print("Enter -1 to print all bits in the chosen register.")
steps = prompt_int("How many steps? (1100): ", 1, 100)
target_reg = prompt_int("Target register (07): ", 0, 7)
target_bit = prompt_int("Target bit (-1 or 07): ", -1, 7)
print("-" * 50)
run_exhaustive(steps, target_reg)
run_exhaustive(steps, target_reg, target_bit)
print("\n" + "=" * 50)
print("Done.")