flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > how set long text ? |
| Author |
|
|
Roman 25 Oct 2025, 20:35
Code: macro setTxtInfo n,t { virtual at 0 .ww:: .aa db t,0 end virtual xcnt = 0 repeat 40-1 load k byte from .ww:.aa+xcnt if k = 0 break end if mov byte [usrTextInfo+40*n+xcnt],k xcnt = xcnt+1 end repeat } ;in code I want write different len text setTxtInfo 1,'option 1' setTxtInfo 2,'next' |
|||
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.