Tiny change to uxnasm

This commit is contained in:
Devine Lu Linvega 2022-05-31 13:38:21 -07:00
parent 852e33e6f3
commit 3c06af41c3
1 changed files with 1 additions and 2 deletions

View File

@ -210,8 +210,7 @@ writeopcode(char *w)
Uint8 res;
if(jsrlast && scmp(w, "JMP2r", 5)) { /* combine JSR2 JMP2r */
p.data[p.ptr - 1] = findopcode("JMP2");
jsrlast = 0;
return 1;
return jsrlast--;
}
res = writebyte(findopcode(w));
if(scmp(w, "JSR2", 4))