mirror of https://git.sr.ht/~kikoodx/bcasm
swap JEZ & JNZ behaviors
This commit is contained in:
parent
20ff035b85
commit
924f3fa4ef
4
bcasm.c
4
bcasm.c
|
@ -100,12 +100,12 @@ parse(char *path)
|
|||
else if (strcmp(token, "JEZ") == 0)
|
||||
{
|
||||
op1 = get_op(1);
|
||||
printf("Ans=>Goto %s\n", op1);
|
||||
printf("Ans=0=>Goto %s\n", op1);
|
||||
}
|
||||
else if (strcmp(token, "JNZ") == 0)
|
||||
{
|
||||
op1 = get_op(1);
|
||||
printf("Ans=0=>Goto %s\n", op1);
|
||||
printf("Ans=>Goto %s\n", op1);
|
||||
}
|
||||
else if (strcmp(token, "JMZ") == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue