Skip to content
Tactiverge

Tactiverge Arena · Challenge family

Computer
Architecture
Challenge

32 original problems on the Bench-8 teaching processor: gates, programs, cycles, memory, bugs and design trade-offs. Write it, run it, and get the same score every time, in your browser and on our server.

  • Practice open · no account needed
  • Official rounds: not running
APCALU

Seven kinds of problem

Every corner of a computer, one problem at a time.

  • Digital logic

    Gates, truth tables, adders, multiplexers and state machines.

    5 problems

  • Program correctness

    Bench-8 programs that give exactly the right output on every test.

    5 problems

  • Computational efficiency

    Cycles and instructions on the model: correct first, then cheap.

    5 problems

  • Registers and memory

    Tracing the accumulator, flags and bytes in memory by hand.

    4 problems

  • Architecture trade-offs

    Caches, pipelines and clocks: what a design choice buys and costs.

    6 problems

  • Debugging

    Programs that almost work. Find the one wrong idea and fix it.

    4 problems

  • Processor design

    Encodings, addressing modes and the choices behind an instruction set.

    3 problems

Practice ladder

Five rungs, from a single gate to a design argument.

Each rung prepares the next. Climb at your own pace: there is no timer, no streak and nothing to lose. Your progress is kept only in this browser.

Your practice on this device

No practice recorded in this browser yet. Problems you try at the Architecture Challenge appear here. They are stored on this device only.

  1. 1

    Bits and gates

    Read binary like a machine does, and know what a gate will say before you test it.

    You will be able to: Count truth-table rows · Read two's complement · Trace a multiplexer · Write a three-line program

  2. 2

    First programs

    Write short Bench-8 programs and follow every byte they touch.

    You will be able to: Trace A and memory by hand · Count cycles · Read the flags after SUB · Decode an instruction

  3. 3

    Loops and flags

    Make loops that stop at the right moment, including when the answer is nothing at all.

    You will be able to: Guard a loop with JZ · Fix off-by-one bugs · Keep data out of the instruction stream · Run a state machine by hand

  4. 4

    Memory and efficiency

    Solve it, then solve it in fewer cycles, and explain where the cycles went.

    You will be able to: Beat par with strength reduction · Unroll a loop · Reason about self-modifying code · Count cache hits

  5. 5

    Design trade-offs

    Argue for a design with numbers from the model, not with adjectives.

    You will be able to: Quantify forwarding · Compare single- and multi-cycle timing · Pick a block size · Design compare-and-branch code

Reproducible scoring

No judge's mood. No lucky run.

The model is a pure function: no clock, no randomness, nothing hidden. Run the same program on the same inputs and you get the same outputs, the same cycle count and the same receipt, wherever it runs.

Read the model assumptions
  1. 1 · Correct

    A program passes only if every public test gives exactly the expected output and the machine reaches HALT within the cycle cap.

  2. 2 · Efficient

    12 program problems; those with a par compare your total cycles over every test with a reference solution: under, at, near (within 25%) or over par.

  3. 3 · Receipt

    A fingerprint of the model version (bench8-v1), your assembled bytes and every test result. Change spacing or comments and it stays the same; change behaviour and it changes.

  4. 4 · Server re-run

    Press Verify and the server runs exactly the same function on your program. Matching receipts show the result is reproducible.

Practice rules

Short rules, kept on purpose.

Want to prepare properly? The preparation pathways link lessons, courses, textbooks and Silicon Studio stages to each rung.

  • Programs must assemble with the Bench-8 assembler and stay inside 256 bytes. Problems that preload memory at 0xF0 and up need your program below it.
  • Every test run stops after 20,000 conceptual cycles. A program that has not halted by then fails that test.
  • Numeric answers accept decimal, hex (0x1F) or binary (0b101). The worked reasoning appears after a correct answer or your third try.
  • Practice needs no account and stores nothing on our server. Your record lives in this browser and you can clear it.
  • Use any notes, the Silicon Studio and friends. In practice the point is learning, so explain your reasoning to yourself as you go.