TwMS v240.1 人物左右走
// TwMS v240.1 ICS 人物左右走Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
//-----------------------------------------------
AutoLRRange:
DD A //16進制 A=10 設置0為不左右走
//-----------------------------------------------
AutoLRICSEntry:
cmp ,00CA0118
jne ICSReturn
mov ,AutoLRMain
ICSReturn:
jmp GetFocus
//-------------------
AutoLRMain:
cmp , 0
je 00CA0118
push eax
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft
GoLeft:
mov ,FFFFFFFF
pop eax
jmp 00CA0A60
GoRight:
mov ,00000001
pop eax
jmp 00CA0A60
05301448:
DD AutoLRICSEntry
05301448:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue) 請問這個代碼如何放入CE使用
我放入之後跳出這個
error in line 14 (dd a ):this instruction can not be compiled
頁:
[1]