Name: Anonymous 2010-11-07 8:39
...
mov si, field
mov ax, 0
mov [variable], ax
mov cx, 10
cyclus:
mov ax, [SI]
cmp ax, [variable]
jbe skip
mov [variable], ax
skip:
inc si
loop cyslus
mov ax, [v4]
...
in data section:
field dw 1, 2, 3, 4, 5, 6, 7, 8, 9, 0
variable resw 1...
I get stack. Do you know where is the problem??? I want to get biggest number from fiel and store it in variable