You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In this code, only the loop code starting at the "L2" label would be executed, but that is not what is happening, SE is not skipping the next instruction, causing L1 to always be executed.
The text was updated successfully, but these errors were encountered:
I put the following code on emulator to test it:
LD V0 0x5
SE V0 0x5 //skip if vx equal kk
JP L1
JP L2
L1:
.... LD V1 0x1
.... JP L1`
L2:
.... LD V1 0x2
.... JP L2
In this code, only the loop code starting at the "L2" label would be executed, but that is not what is happening, SE is not skipping the next instruction, causing L1 to always be executed.
The text was updated successfully, but these errors were encountered: