flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > macro macro |
Author |
|
revolution 09 Aug 2020, 04:02
Works for me.
Code: 1 passes, 0 bytes. |
|||
09 Aug 2020, 04:02 |
|
Overclick 09 Aug 2020, 05:09
This macro inside another macro
Code: macro .... macro redesign_macro [param] \{ \common macro param \} } It argues with another macro we previously talked about Code: macro hb hash { local ..hash,..length virtual at 0 ..hash:: db `hash ..length = $/2 end virtual while % <= ..length load b_1 byte from ..hash: (%-1)*2 load b_2 byte from ..hash: (%-1)*2+1 if b_1 > '9' b_1 = b_1 - 'A' + 10 else b_1 = b_1 - '0' end if if b_2 > '9' b_2 = b_2 - 'A' + 10 else b_2 = b_2 - '0' end if db b_1 shl 4 + b_2 end while } Says value is out of range Code:
hb 204850204663206042616E6431602048 |
|||
09 Aug 2020, 05:09 |
|
revolution 09 Aug 2020, 05:14
We don't know what you are doing. Please post something we can compile without having to guess how it all goes together.
|
|||
09 Aug 2020, 05:14 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.