[su_box title=”Steric Mountain” style=”bubbles” box_color=”#1d318d”]

org 100h

.data
str db 0Ah,0Dh,”$”
x dw 1
y dw 7

.code
Top1:
mov cx,x

Top2:
mov ah,2
mov dl,’x’
int 21h
loop Top2

mov ah,9
lea dx,str
int 21h

inc x
cmp x,7
jne top1

Top3:
mov cx,y

Top4:
mov ah,2
mov dl,’x’
int 21h
loop Top4

mov ah,9
lea dx,str
int 21h

dec y
cmp y,0
jne top3

ret

[/su_box]

 

Table of Contents

OutPut Screen:

Print Mountain

 

Find More Assembly Codes Here!

 

2 COMMENTS