Flow-control structures: Difference between revisions
→{{header|Z80 Assembly}}
Puppydrum64 (talk | contribs) |
Puppydrum64 (talk | contribs) |
||
Line 3,005:
CALL label ; call a subroutine named "label"
CALL z,label ;call a subroutine named "label" conditionally
RET ;return from subroutine
RET z ;return from subroutine conditionally
DJNZ label ;decrement, jump if B nonzero to label
LDIR ;load, increment, repeat until BC = 0
Line 3,014 ⟶ 3,016:
INIR ;in, increment, repeat until BC = 0
INDR ;in, decrement, repeat until BC = 0</lang>
=={{header|zkl}}==
|