Logo 
Search:

Assembly Language Answers

Ask Question   UnAnswered
Home » Forum » Assembly Language       RSS Feeds
  Question Asked By: Anna11 Catherine11   on May 22 In Assembly Language Category.

  
Question Answered By: Abhishek Singh   on May 22

TITLE MASM Template (main.asm)

; Description:
;
; Revision date:

INCLUDE Irvine32.inc
.data
counter dword 1;

.code
main PROC
call readint;
mov ecx,eax;
L1:

push ecx;
mov ecx,counter ;
L2:
mov al,'*';
call writechar;


loop l2;
pop ecx;
inc counter;
call crlf;
loop l1;



exit
main ENDP

end main

Share: