iLMS知識社群(Sites)師生部落格(Blogs)朝陽首頁(Homepage)TronClass教學平台登入
位置: 李其 > 未分類
111
by 李其 2018-05-09 15:22:41, 回應(1), 人氣(27)
; Program Source (Source.asm)

; Program Description:
; Author
; Creation Date:
; Revisions:
; Date: Modified by:

.386
.model flat,stdcall
.stack 4096
ExitProcess PROTO,dwExitCode:DWORD
.data

.code
main PROC
INVOKE DxitProcess,0
main ENDP
;(insert additional procedures here)
END main
回應(1)
; Program Source (Source.asm)

; Program Description:
; Author
; Creation Date:
; Revisions:
; Date: Modified by:

.386
.model flat,stdcall
.stack 4096
ExitProcess PROTO,dwExitCode:DWORD
.data

.code
main PROC
mov ecx,100 ; set outer loop count
L1: ; begin the outer loop
push ecx ; save outer loop count

mov ecx,20 ; set inner loop count
L2: ; begin the inner loop
;
;
loop L2 ; repeat the inner loop

pop ecx ; restore outer loop count
loop L1 ; repeat the outer loop

INVOKE DxitProcess,0
main ENDP
;(insert additional procedures here)
END main
回應