博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2011年4月3日

摘要: TITLE COORD and the systemTime (.asm); This program; Last update:2011.4.3INCLUDE Irvine32.inc.data systime SYSTEMTIME <> xypos COORD <10,5> consolehandle DWORD ? colonStr byte ":",0.codemain PROC;//获取win32控制台的标准输出手柄 invoke GetStdHandle,STD_OUTPUT_HANDLE mov consolehandle,eax ;/ 阅读全文

posted @ 2011-04-03 19:06 Code_HXH 阅读(382) 评论(0) 推荐(1) 编辑

摘要: TITLE MASM Template (main.asm); Description:; ; Revision date:2010/3/26INCLUDE Irvine32.inc.data ;//TODD to imply the string on here. str1 byte "(1) x AND y",0 str2 byte "(2) x OR y",0 str3 byte "(3) NOT x",0 str4 byte "(4) x XOR y",0 str5 byte "(5) exit 阅读全文

posted @ 2011-04-03 18:35 Code_HXH 阅读(622) 评论(0) 推荐(0) 编辑

摘要: TITLE integer summation Program;;;;INCLUDE Irvine32.incINTERGER_COUNT = 3.datastr1 byte "enter a signe integer:",0str2 byte "the sum of the integers is:",0array dword INTERGER_COUNT dup(?);************************************************************;temp: esi:数组的首地址,长度为4个字节; ecx: 阅读全文

posted @ 2011-04-03 18:10 Code_HXH 阅读(329) 评论(0) 推荐(1) 编辑

摘要: 1 ; Include file for Irvine32.lib (Irvine32.inc) 2 3 ;OPTION CASEMAP:NONE ; optional: make identifiers case-sensitive 4 5 INCLUDE SmallWin.inc ; MS-Windows prototypes, structures, and constants 6 INCLUDE VirtualKeys.inc 7 8 .NOLIST 9 ; Last update: 7/29/05 10 11 ;-----------------------------------. 阅读全文

posted @ 2011-04-03 18:00 Code_HXH 阅读(3502) 评论(0) 推荐(0) 编辑