home
|
projects
Interactive VM Example
Click for VM source code
click me i dare you!
Run program until halt
Step
Reset
Clear output
ip: 0
register
0
1
2
3
4
integer
0
0
0
0
0
float
0.0
0.0
0.0
0.0
0.0
string
""
""
""
""
""
boolean
false
false
false
false
false
Program Soure Code
Output Thing
; this program will print hello sigma ten times to the console imov ireg0 0 smov sreg0 "hello sigma" :start iadd ireg0 ireg0 1 ieq breg0 ireg0 10 not breg0 breg0 call "sys.println" jmplt breg0 :start