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
The label line needs to be assigned at least a line of code. For example, if you do something like the following:
mvi c, 0ah
mvi b, 05h
xra a
loop:
add b
dcr c
jnz loop
The above code would not assemble, as the line with the label “loop” does not have any code. Either you have to move the ADD B to the “loop:” label line, or simply include a NOP beside the label “loop”.
It would be worthy supporting this syntax, as long as implementing it wouldn't break the semantics otherwise.
The text was updated successfully, but these errors were encountered:
From https://opensourceforu.com/2011/08/gnusim8085-review/
The label line needs to be assigned at least a line of code. For example, if you do something like the following:
The above code would not assemble, as the line with the label “loop” does not have any code. Either you have to move the ADD B to the “loop:” label line, or simply include a NOP beside the label “loop”.
It would be worthy supporting this syntax, as long as implementing it wouldn't break the semantics otherwise.
The text was updated successfully, but these errors were encountered: