Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 500 Bytes

File metadata and controls

26 lines (16 loc) · 500 Bytes

Warpcore

{master}

A compact stack-based virtual machine designed for simplicity.

  • Stacks: 16-bit cell size for both data and return stacks.
  • Instruction Set: 8-bit opcodes and 16-bit addresses.
  • Memory: 32 KB of RAM for programs and runtime data.
  • Compiler: Self-hosted Forth compiler running directly on the VM.

Language

: SQUARE DUP * ;

ENTRY

" Hello World!" PRINT
CR

3 SQUARE . CR

BYE