This document is a submission for a programming assignment from a Computer Science course. It includes the student's name, registration number, course code, and a program to print an asterisk pattern with increasing number of asterisks on each line from 1 to 5. The program code uses a loop to increment the number of asterisks printed on each line. It also provides screenshots of the output verifying the pattern was correctly printed.
This document is a submission for a programming assignment from a Computer Science course. It includes the student's name, registration number, course code, and a program to print an asterisk pattern with increasing number of asterisks on each line from 1 to 5. The program code uses a loop to increment the number of asterisks printed on each line. It also provides screenshots of the output verifying the pattern was correctly printed.
This document is a submission for a programming assignment from a Computer Science course. It includes the student's name, registration number, course code, and a program to print an asterisk pattern with increasing number of asterisks on each line from 1 to 5. The program code uses a loop to increment the number of asterisks printed on each line. It also provides screenshots of the output verifying the pattern was correctly printed.
CS Department TASK # 1: Write a program that will print asterisks. CODE: TITLE Write a program that will print the following pattern on output. ;* ;** ;*** ;**** ;***** ;CREDENTIALS ; MUHAMMAD SAAD AHMED ; F21605037 ; CS 21 .686 .MODEL flat, stdcall .STACK INCLUDE Irvine32.inc .data str1 BYTE " ",0 .code main PROC MOV al,'*' MOV ecx,6 MOV esi,0 l1: MOV str1[esi],al lea edx,str1 call writeString call crlf INC esi loop l1 exit main ENDP END main SCREENSHOT: