flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > or i'm too sleepy, or smthng wrong with shifting |
Author |
|
shoorick 11 Aug 2005, 00:22
solved:
Code: ;================================= macro reptest [_lbl] { common init_value equ 0 forward _lbl: repeat 5 curr_value = init_value + % dd curr_value dd curr_value shr 4 dd curr_value shl 4 dd curr_value shl 8 end repeat init_value equ init_value + 5 } ;================================= reptest aa,bb,cc ;================================= |
|||
11 Aug 2005, 00:22 |
|
Tomasz Grysztar 11 Aug 2005, 00:26
You should be using = everywhere here, remember that EQU is just like a text substitution.
|
|||
11 Aug 2005, 00:26 |
|
shoorick 11 Aug 2005, 08:43
thanks! i just been driving of wrong work of all, so just began to write everything what appeared in my had of course, clear understanding is always better! thanks for such excellent compiler!
|
|||
11 Aug 2005, 08:43 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.