It's like the classic RISC vs CISC debate. The example could turn into a single instruction:
addvar "a", "b", "c"
I think a hybrid stack/register architecture gives the best code density - something like the x87, where you can choose to access the registers like a stack or by index directly. Look at some of the sub-256-byte demos for a good example of x87 code density.
addvar "a", "b", "c"
I think a hybrid stack/register architecture gives the best code density - something like the x87, where you can choose to access the registers like a stack or by index directly. Look at some of the sub-256-byte demos for a good example of x87 code density.