文章分類 «組合語言» :
Asm 測試 code block
測試組合語言 code block:
.386
.model flat, stdcall
option casemap : none
.data
abc db "abc",0
def db "def",0
.code
start:
mov ecx,3 ;the length of the abc and def strings
cld ;set the direction flag so that EDI and ESI will increase using …