INCLUDE Irvine32.inc

.data
	str1	BYTE "Hello SetTextColor",0
	
.code
main	PROC
		call	Clrscr
		mov		edx,OFFSET str1		
		mov		eax,green
		call	SetTextColor
		call	WriteString
		call	Crlf
		
		
		mov		edx,OFFSET str1				
		mov		eax,yellow
		call	SetTextColor
		call	WriteString
		call	Crlf
		
		mov		edx,OFFSET str1		
		mov		eax,red
		call	SetTextColor
		call	WriteString
		call	Crlf
		
		mov		edx,OFFSET str1		
		mov		eax,white
		call	SetTextColor
		call	WriteString
		call	Crlf
		ret
main	ENDP
END		main

루프 없는 코드

Posted by 공돌이pooh
,