-
Notifications
You must be signed in to change notification settings - Fork 2
Home
Cristian edited this page Oct 5, 2023
·
1 revision
Welcome to the virtualice wiki!
The virtual machine is stack based and the architecture is ice.
The architecture is capable of handling 64bit integers, floating point and
complex numbers. Arithmetic operations expect operands to be pushed in
human order. Calls should push parameters on reverse on the stack, while
it's the function's responsibility to tell the environment how many
parameters it expects using the arity instruction. The final bytecode is
optimized for size and sometimes even easy to read in a hex editor (for example
the call.k debug instruction translates to C0 DE, code debug).