Repeat: Difference between revisions

Content added Content deleted
(z80 assembly)
Line 1,989: Line 1,989:
trampoline:
trampoline:
push hl
push hl
ret ;this is effectively a call to whatever is in HL, in this case "myFunc." The "ret" at the end of myFunc will return us to just
ret ;this is effectively a call to whatever is in HL, in this case "myFunc." The "ret" at the end of myFunc will return us to just after the line "call trampoline"
after the line "call trampoline"




Line 1,997: Line 1,996:
ret
ret
</lang>
</lang>



=={{header|zkl}}==
=={{header|zkl}}==