Closed marekjm closed 7 years ago
VM should provide unified arithmetic (calculations) and logic (comparison) instructions for numbers. Desired result type would be encoded as first operand, and the opcode would carry information about type:
[opcode][result-type][result-ri][lhs-ri][rhs-ri]
VM should provide unified arithmetic (calculations) and logic (comparison) instructions for numbers. Desired result type would be encoded as first operand, and the opcode would carry information about type: