Skip to content

Instruction Bonanza

Choose a tag to compare

@lebeeas lebeeas released this 16 Dec 18:14
· 17 commits to main since this release
7c78c67

We’ve added six new instructions

bonanza

  • test: Performs an AND operation between the specified general-purpose register and the indicated variable, but doesn’t save the result.
  • testR: Performs an AND operation between two registers, again without saving the result.
  • test$: Performs an AND operation between the specified general-purpose register and the given value, but doesn’t save the result.
  • nop: Does nothing for 1 clock cycle.
  • wait: Does nothing for 3 clock cycles. Combined with the 2 fetch cycles, this creates a visible 5-cycle pause in execution.
  • copy: Copies the value from the specified general-purpose register into another general-purpose register.

All the details on how to use these new instructions can be found in the dedicated section of the free manual

The previously named pause instruction has been renamed to stop to avoid confusion. All the sample programs here on GitHub and the various manuals online have already been updated.