RosettaCodeData/Task/Loops-Infinite/8086-Assembly/loops-infinite-1.8086
2023-07-01 13:44:08 -04:00

21 lines
270 B
Text

Spam:
mov ah,02h
mov dl,'S' ;VASM replaces a character in single quotes with its ascii equivalent
int 21h ;Print Char routine
mov dl,'P'
int 21h
mov dl, 'A'
int 21h
mov dl, 'M'
int 21h
mov dl,13 ;Carriage Return
int 21h
mov dl,10 ;New Line
int 21h
jmp Spam