GameLoop:
mov di, offset CommandLine
...
xor ax, ax
int16h
stosb
cmp al, 13
jmp TestString
jmp GameLoop
TestString:
mov si, offset CommandLine
Call StringLoop
jmp GameLoop
StringLoop
lodsb
...
ret
GameLoop:
mov di, offset CommandLine
...
xor ax, ax
int16h
stosb
cmp al, 13
jmp TestString
jmp GameLoop
TestString:
push offset GameLoop
mov si, offset CommandLine
jmp StringLoop
StringLoop
lodsb
...
ret