Skip to content

Latest commit

 

History

History
16 lines (16 loc) · 548 Bytes

README.md

File metadata and controls

16 lines (16 loc) · 548 Bytes

Koderunners-Interpreter

Opcodes- 1 exit 2 addition of top 2 elements 3 subtraction of top 2 elements 4 multiplication of top 2 elements 5 division of top 2 elements 6 modulus of top 2 elements 7 input a line 8 output topmost element 9 return 1 if top 2 elements are equal and 0 otherwise 10 return 1 if top element is less than the element below top and 0 otherwise 12 return 1 if top element is greater than the element below top and 0 otherwise 13 logical AND of top 2 elements 14 logical OR of top 2 elements 15 logical NOT of the top element