marekjm / viuavm

Parallel virtual machine designed to reliably run massively concurrent programs
https://viuavm.org/
GNU General Public License v3.0
71 stars 11 forks source link

compare + conditional jumps #38

Closed condret closed 9 years ago

condret commented 9 years ago

I guess you'll need this for more complex stuff than just "hello world".

marekjm commented 9 years ago

The VM supports branch and jump instructions for jumping around.

For comparison there are eq, lt, gt and friends.

marekjm commented 9 years ago

You should check out sample programs in the sample/asm/ directory to get the idea of what is possible with Wudoo now.

condret commented 9 years ago

oups, sry for that

marekjm commented 9 years ago

Just in case: https://github.com/marekjm/wudoovm/blob/devel/src/bytecode/opcodes.h ;-)