summaryrefslogtreecommitdiff
path: root/main.c
AgeCommit message (Collapse)Author
2024-10-25Essential layout of virtual machine memory setupHEADmasterAryadev Chavali
The virtual machine has three major segments for data storage: main memory, the registers and the stack. They are laid out in a flat buffer adjacent to each other: main memory, then the registers then the stack at the end. This would allow, later on, for the stack to be extended via memory reallocation. Crucially, registers cannot grow. This is intended to map closely to the x86-64 machines which have a static number of general registers (and also xmmp registers).
2024-10-25Hello, world!Aryadev Chavali