flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > String length |
Author |
|
DimonSoft 26 Dec 2020, 08:01
What is your real goal? Are you displaying hyphens for debugging purposes or decorate the output?
If the string shouldn’t be put into the output file, your solution is quite good. The only thing I’d probably avoid is single-dot-prefixing the identifier, just in case some day I expand the macro to do more (since it might be prefixed with the nearest preceding global label name). P.S. Well, maybe you could make the hyphen printing a separate macro with (two?) parameters. I don’t know if it’s worth doing for your project. |
|||
26 Dec 2020, 08:01 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.