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
루프 없는 코드
'노트정리 > 프로그래밍 언어' 카테고리의 다른 글
| 난수 정수 (0) | 2010.06.13 |
|---|---|
| 간단한 덧셈2 (0) | 2010.06.13 |
| ch5 간단한 덧셈1 (0) | 2010.06.13 |
| 피보나치 수열 47항 까지 저장파일에 출력하기 (0) | 2010.06.13 |
| Irvine32 라이브러리 SetTextColor (0) | 2010.06.12 |
| Irvine32 라이브러리 프로시저를 이용한 문자열 입출력 (0) | 2010.06.07 |
| 어셈블리 피보나치 수열 5항까지 (0) | 2010.06.06 |
| ZF, SF (0) | 2010.06.06 |


