Write a program that display output on screen
Program/Code:1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | Org 100h .data Str db 'hello!', 0ah, 0dh,'$' Str2 db 48h, 45h,4ch, 4ch, 4fh,0Ah, 0Dh, ' abcd$', 24h ;$ is use for terminate string ;0ah is use for new line feed ;0dh is use for carriage return / start line .code Mov ah, 9 Lea dx, str int 21h Mov ah, 9 Lea dx, str2 Int 21h ret |
Output/Result:
No comments:
Post a Comment