Write an ARM program that prints a slope of stars like the f
     Write an ARM program that prints a slope of stars, like the following. Your program must use a variable and loops to control the height of the slope.  *  **  ***  ****  ***** 
  
  Solution
.model small
 .stack 100h
 .code
 main proc
 MVI BH,3 // Moves data into bh register
 MVI BL,0 // Moves data into bl register
 MVI AH,2 // Moves data into AH register
 loop1:
 CMP BH,0
 JE END1
 MVI BL,0
 loop2:
 CMP BL,BH // Compare BL register and BH register
 JAE END2
 MOV DL, \'*\' // Moves * into DL register
 INT 21H
 INC BL // Increment BL register
 JMP loop2 // jump to loop2
 End2:
 MVI DL,10 //Move 10 into register DL
 INT 21H
 MVI DL,13 // Move 13 into DL register
 INT 21H
 DEC BH
 JMP loop1
 End1:
 MOV AH,4CH
 INT 21H
 MAIN ENDP
 END MAIN

