Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ; Write a program to PRINT 10*10 ASTARIC
- .MODEL SMALL ; IN THIS COURSE ALL MODEL ARE SMALL
- .STACK 100H ; WE ALWAYS USE STACK 100H
- .DATA ; DATA SEGMENT
- STARS DB 0AH,0DH,"********$" ; to print the line asstaric 10*10 we store 10 dtsrt here
- .CODE
- MAIN PROC ; main code start here
- ;PROGRAMME SEGMENT PREFIX
- MOV AX,@DATA
- MOV DS,AX ; INITILATION OF DS
- MOV AH,9 ; the function will use to print string
- LEA DX,STARS ; this print the str value
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- INT 21H ; make this computer to do
- MOV AH,4CH ; TERMINATED THE CODE AND EXI
- INT 21H
- MAIN ENDP
- END MAIN
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement