Created
April 9, 2013 09:23
-
-
Save 123jimin/5344310 to your computer and use it in GitHub Desktop.
I spot a serious bug here
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case (int)instructions.Div://divides regB with regC and puts the result in regA | |
if (register[regB] == 0) | |
return -1; | |
register[regA] = register[regB] / register[regC]; | |
executionTime += 39; | |
break; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment