如果仅仅是输出 到是可以变通输出
程序代码:
;#Mode=CON
.386
.model flat, stdcall
option casemap :none
include windows.inc
include user32.inc
include kernel32.inc
include masm32.inc
includelib user32.lib
includelib kernel32.lib
includelib masm32.lib
include macro.asm
.data?
buffer db 100 dup(?)
.const
szfmt db '%X%X',0Dh,0Ah,0
.CODE
START:
xor edx,edx
mov eax,10000000
mov ebx,10000000
cdq
imul ebx
invoke wsprintf,addr buffer,addr szfmt,edx,eax
invoke StdOut,addr buffer
invoke StdIn,addr buffer,sizeof buffer
invoke ExitProcess,0
end START
[
本帖最后由 wp231957 于 2012-12-8 07:53 编辑 ]