摘要:
看Intel汇编语言程序设计的,感觉蛮有意思的 1 INCLUDE irvine32.inc 2 3 .data 4 CaseTable BYTE 'A' 5 DWORD PROCESS_A 6 EntrySize = ($ - CaseTable) 7 BYTE 'B' 8 DWORD PROCESS_B 9 BYTE 'C'10 DWORD PROCESS_C11 BYTE 'D'12 DWORD PROCESS_D 13 NumberOfEntries = ($-CaseTable)/EntrySize14 prompt B 阅读全文
摘要:
Intel汇编语言程序设计第五章编程联系绘制色彩文本 1 INCLUDE irvine32.inc 2 3 .data 4 str1 BYTE "Enter",0 5 color DWORD 1 6 7 .code 8 PrintText PROC 9 mov ecx,410 L1:11 mov eax,color12 call SetTextColor13 call WriteString14 inc color15 loop L116 ret17 PrintText endp18 19 main PROC20 mov edx,offset str121 call Pri 阅读全文