Created
December 7, 2017 04:47
-
-
Save RyuaNerin/da65c9f8c73e0a13feba1448b0110ae6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include Irvine32.inc | |
.data | |
n1 DWORD 1 | |
n2 DWORD 1 | |
.code | |
main PROC | |
mov ecx, 9 | |
F1: | |
push ecx | |
inc n1 | |
mov n2, 0 | |
mov ecx, 9 | |
F2: | |
inc n2 | |
mov ecx, n1 | |
call WriteDec | |
mov al, '*' | |
call WriteChar | |
mov ecx, n2 | |
call WriteDec | |
mov al, '=' | |
call WriteChar | |
mov ecx, n1 | |
imul n2 | |
call WriteDec | |
call CrLf | |
loop F2 | |
call CrLf | |
pop ecx | |
loop F1 | |
exit | |
main endp | |
end main |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment