diff --git a/examples/loop.tasm b/examples/loop.tasm index ac10ed7..824c30c 100644 --- a/examples/loop.tasm +++ b/examples/loop.tasm @@ -3,5 +3,12 @@ Example of self-repeating code section */ .main: -//TODO loop example -exit + +.loop +const8 datum "ITERATION!!! " +movc ax 1 +movc bx 1 +movc cx @datum +movc dx #datum +sys +jmp @loop