Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- hellostring db 'Hello World!', 0
- mov si, hellostring
- mov al, [si]
- call printloop
- printloop:
- out dx, al ; Outputs al to the set up port dx
- inc si
- mov al, [si]
- cmp al, 0
- je finished
- loop printloop
- finished:
- ret
Add Comment
Please, Sign In to add comment