Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mov bx,5 ;the height of piramid
- mov cx,0
- outloop:
- inloop:
- mov ah,2
- mov dx,bx
- add dx,48
- int 21h
- add cx,1
- cmp bx,cx
- jne inloop
- ;newline
- MOV dl, 10
- MOV ah, 02h
- INT 21h
- MOV dl, 13
- MOV ah, 02h
- INT 21h
- sub bx,1
- mov cx,0
- cmp bx,0
- jne outloop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement