Skip to content

v0.2.0 — assembly example programs

Choose a tag to compare

@RajMandaliya RajMandaliya released this 25 Apr 21:24
· 9 commits to main since this release

Four new assembly programs demonstrating the full capability of cpu16.

What's new

  • bubble_sort.asm — sorts 8 integers in-place, ~450 cycles worst case
  • binary_search.asm — divide-and-conquer search, returns index or 0xFFFF
  • sieve.asm — Sieve of Eratosthenes, finds all primes up to 30
  • stack_calc.asm — RPN calculator with software operand stack, evaluates 3 4 + 2 * 7 - = 7

See CHANGELOG.md for full details