我試圖創建一個計算數的階乘的彙編程序: .data
n dword 1
res dword 1
.code
start:
mov ecx, 5
Top:
add n, 1
mov eax, res
mov ebx, n
mul eax, ebx
mov res, eax
dec ecx
jnz Top
Next:
Invoke crt_printf, addr r
如何實現這樣的事情: abc db "abc",0
def db "def",0
textnotequal db "strings are not equal",0
textequal db "strings are equal",0
.if abc != def
invoke MessageBox, NULL, addr textnotequal, addr textnote