3 ms·
Thank you very much, it is very interesting! I started with a weird VM with 16-bit opcodes for variable-length instructions (VLIW) and now I'm trying to write a
by faragon 9y ago
Thank you very much, it is very interesting! I started with a weird VM with 16-bit opcodes for variable-length instructions (VLIW) and now I'm trying to write a compiler for it. At the beginning I considered a stack-based CPU so I could use less bits per opcode, and implement Forth-like VLIW stuff, but I discarded it for a register-based VLIW VM, so I could write a C compiler easier.