fixed a bug with testing the carry bit (parens were needed). also implemented dump_vm