Wiki 9Minecraft Wiki 9Minecraft

Minecoprocessors Mechanics & Logic

Guides 3FAQ 7Blocks 2Recipes 2Related mods 48
DownloadMinecoprocessors

Get the files on 9Minecraft

Contents (5)
  1. Timing
  2. Number Formats
  3. Flags
  4. Next guides
  5. More in this wiki

Timing

The mod operates on the principle of 1 Instruction = 1 Redstone Tick. This makes it easy to calculate delays. For example, a loop that runs 10 times with 2 instructions inside will take exactly 20 redstone ticks (2 seconds) to complete.

Number Formats

The assembler supports four number formats for flexibility:

  • Decimal: 10
  • Hexadecimal: 0x0A
  • Octal: 0o12
  • Binary: 1010b

Flags

The processor tracks the state of the last operation using flags:

  • Z (Zero): Set if the result was 0
  • C (Carry): Set if an arithmetic operation overflowed
  • F (Fault): Set if an error occurred (e.g., division by zero)
  • S (Sleep): Set when the processor is in a low-power sleep state