flat assembler
Message board for the users of flat assembler.
Index
> Main > repeat macro + @@ |
Author |
|
Tomasz Grysztar 03 Jul 2006, 08:27
REPEAT is not a macro, REPT is.
Code: @@: ;40 INC EAX-INC EDI 47 rept 7 { dw SPECIAL ;opcode flags db @f-$ db 3,'INC' DW SPECIAL_CPU_REG_IN_OPCODE_0 @@: } The REPEAT only repeats interpreting the given lines by the assembler (and thus the given @@ is still the same label, as this is still the same line). The REPT produces the new lines that are later interpreted. See this if you've got some time for reading (and the manual, of course). |
|||
03 Jul 2006, 08:27 |
|
Fr3m3n 03 Jul 2006, 16:09
Thanks!
|
|||
03 Jul 2006, 16:09 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.