flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > labels inside macros |
Author |
|
comrade 22 Feb 2004, 20:15
Strange behaviour, though it seems to work if you manually repeat this block 8 times, instead of using repeat directive. That is after adding "local .no_xor" to beginning of macro of course.
|
|||
22 Feb 2004, 20:15 |
|
comrade 22 Feb 2004, 23:13
You can use @@ as label name, and @F to refer to it:
Code: macro crc16r_decode { mov dh,dl shr dl,1 xor dh,al test dh,1 jz @F xor eax, 18005h @@: shr eax,1 } foo: repeat 8 crc16r_decode end repeat But it should work with local .no_xor, seems to be something with repeat block. |
|||
22 Feb 2004, 23:13 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.