simple VM instruction generator