UTU CYCLES 0
UTU TIME 0.000
CLOCK FREQ 2.3 GHz → UTU
ready

UTU-VM — Quick Guide

What You're Looking At

A virtual computer that counts clock cycles in UTU (Universal Time Unit) instead of Hertz. Same instruction set as any real processor — just measured in universal time, not Earth time.

Layout

Left — Memory Grid

64 cells. Green = program counter (current instruction). Amber = the operand it's reading.

Centre — CPU

ACC — Accumulator (where maths happens). PC — Program Counter. STACK — Call stack depth. FLAGS — Z/N/P state.

Right — Programs

Pre-loaded demos to click and run. Editor to write your own.

Header

UTU CYCLES — instructions executed. UTU TIME — scaled universal time elapsed. Status dot — amber (ready), green (running), red (halted).

Controls

STEP (or S key)Execute one instruction — watch the memory grid move
RUN (or Space)Auto-run. Press again to pause
RESET (or R key)Start the program over
Speed sliderLeft = slow, right = fast

Try These In Order

  1. Hello Accumulator — Loads 10, adds 5, prints 15. Step through slowly — watch ACC change.
  2. Countdown — Loop from 10 to 0. Watch the PC jump backwards each loop.
  3. Subroutine Demo — From the original Python prototype. Watch STACK go up on CALL, down on RETURN.
  4. Fibonacci — Generates the sequence. Hit RUN and watch the output.
  5. Multiply by Hand — 7 × 8 via repeated addition. How early CPUs did it.
  6. Interactive — Takes your input, doubles it. Type a number when prompted.

Write Your Own

Type in the editor, click LOAD. Lines starting with ; are comments.

LOAD 42       ; put 42 in accumulator
ADD 8         ; accumulator + 8
SUB 3         ; accumulator - 3
MUL 5         ; accumulator × 5
DIV 2         ; accumulator ÷ 2
PRINT         ; output the accumulator
JUMP 0        ; go to address 0
JUMP_IF_ZERO 10  ; jump if accumulator = 0
CALL 20       ; call subroutine at address 20
RETURN        ; come back from subroutine
STOP          ; halt

The Point

This runs identically to any computer — same logic, same instructions. The only difference is underneath: the clock ticks in UTU, not Hertz. A unit derived from the speed of light, not from one planet's rotation.

Build this in silicon and it works on Earth. On Mars. On a station orbiting Jupiter. The programs don't change. The time does.

Memory

64 cells

CPU

ACC 0
PC 0
STACK 0
FLAGS ---
INSTRUCTION DECODER
Awaiting execution
20

Output

Programs

Editor

Call Stack

empty