간단한 대소문자 변환
INCLUDE Irvine32.inc .data string BYTE "welcome to the ASSEMBLY world", 0 .code main PROC mov edx, OFFSET string mov esi, OFFSET string call WriteString call crlf call ChangeString mov edx, esi call WriteString exit main ENDP ChangeString PROC PUSH EBP MOV EBP, ESP PUSHAD L1: inc esi mov al, [esi] cmp al, 32 je SPACE cmp al, 0 je DONE cmp al, 'a' jb L2 jae L3 L2: add BYTE PTR [esi], 32 jmp L1 L3..
더보기