fix jmp & move test to vm.c
vm
add mem_free to free all alloced blocks
mem.h
make mainloop global
vm as default