axy virtual machine
homeaxy is a minimalist 8-bit virtual machine programmable through a concatenative assembly language able to access:
256 bytes of ROM
256 bytes of RAM
256 bytes of user stack
It also provides a 96-byte system stack for managing subroutines automatically.
=== Key Features
32 instructions, 3 modes
two registers (x and y) accessible via modes
auto-pushing integers <128 via implicit literal mode
1-byte memory addressing
8-bit arithmetic
256-byte read-only program memory (rom)
256-byte data memory (ram)
repurposable GET/SET for byte-level I/O
user stack (default: 256 bytes)
system stack (default: 96 bytes)
=== Modes
11001100 => $CC
│││└└└└└ base opcode ($0C)
││└ mode y not set
│└ mode x set ($40)
└ mode a set ($80)
=== File Types
.axy -> source assembly
.bxy -> bytecode