Jacquard

the loom you program · Weft-8 · 27 instructions, two bytes each
about · the family · offline
punched card · your program
the machine idle

output

Nothing yet. Press “Assemble & run”.

program bytes

—

the device — peripherals

9
30
not at the office
128

The machine's senses: one byte each at a fixed address, reached with IN/OUT. Simulated here, on this device.

scratch RAM · 0x80 – 0xBF

—
0x00–0x7Fprogram ROM — read-only while running
0x80–0xBFscratch RAM — 64 bytes, yours
0xC0–0xFFperipherals

the reference card — all 27 instructions

Every instruction is exactly two bytes: the opcode, then the operand. The operand is an 8-bit value, address or port — or two register numbers packed into one byte, a<<4 | b. R0 is the accumulator: LDI, LOAD and IN all fill it, and MOV moves it where you want it. This table is generated from the engine, so it cannot drift from the machine.

InstructionOperandEffectFlags