Hi ,sorry to bother ya guys about this again, but I havent used this before and I'm not sure how to use it

this is what I want


MYMACRO MACRO
mov eax,1

@@:
mov eax,2
@@: <------ I want to jump here
mov edx,5



endm



What would I put after mov eax,1 to jump to the second or third one or fourth one in a macro?!

Do I do something like this:


jmp @f ;This will take to the first one
jmp @f2

Posted on 2004-06-05 20:29:22 by x86asm
Create a label and set it as LOCAL.
gcd MACRO reg1, reg2

LOCAL _1, _2, _3, _4

neg reg1
je _3
_1: neg reg1
xchg reg1, reg2
_2: sub reg1, reg2
jg _2
jne _1
_3: add reg1, reg2
jne _4
inc reg1
_4:
ENDM
Now we have a new instruction.

gcd eax, edx ;)
Posted on 2004-06-05 20:37:04 by bitRAKE

Create a label and set it as LOCAL.
gcd MACRO reg1, reg2

LOCAL _1, _2, _3, _4

neg reg1
je _3
_1: neg reg1
xchg reg1, reg2
_2: sub reg1, reg2
jg _2
jne _1
_3: add reg1, reg2
jne _4
inc reg1
_4:
ENDM


Thanks lol, u just helped me work on my 68000 emu :D
Posted on 2004-06-05 20:37:42 by x86asm