Sunday, January 16, 2022

simple program that Print the following pattern.

 INCLUDE irvine32.inc

.386

.STACK 4096

EXITPROCESS PROTO,DWEXITCODE:DWORD                          

.CODE

MAIN PROC

mov eax,1

mov ecx,5

L1:

         push ecx

         mov ecx,eax

       L2:

          mov ebx,"*"

          call writeChar


       loop L2

          call crlf

inc eax

  pop ecx

loop L1

        call crlf

call writeChar

  

INVOKE EXITPROCESS,0

MAIN ENDP

END MAIN

No comments:

Post a Comment