Commits

Seth Hobson  committed 1fe3cec

corrected 'mul' opcode in WIC interpreter

  • Participants
  • Parent commits d5fee02

Comments (0)

Files changed (1)

File chap3/wici.c

             pc = not(pc);
         else if (strcmp(opcode, "sub") == 0)
             pc = sub(pc);
-        else if (strcmp(opcode, "mult") == 0)
+        else if (strcmp(opcode, "mul") == 0)
             pc = mult(pc);
         else if (strcmp(opcode, "div") == 0)
             pc = divide(pc);