flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > [Solved]How do long equ \? |
Author |
|
revolution 29 Mar 2023, 07:26
Code: Txt1 equ 'abcde1234' |
|||
29 Mar 2023, 07:26 |
|
Roman 29 Mar 2023, 07:39
I know this. As usual.
But I want do how I write in first my post. Txt1 equ 'abcd'\ '123' Txt1 exist ok, no error. But match =\ , Txt1 { } ;get error Last edited by Roman on 29 Mar 2023, 11:57; edited 2 times in total |
|||
29 Mar 2023, 07:39 |
|
revolution 29 Mar 2023, 07:43
It is seen as one line of text, but you have it as two unconnected strings.
Code: processed: db 'abcde' '1234' error: extra characters on line. Code: Txt1 equ 'abcde' # \ '1234' match x,Txt1 {db x} |
|||
29 Mar 2023, 07:43 |
|
Roman 29 Mar 2023, 07:50
Nice variant.
Code: Ar3 equ 877 Ar1 equ '575' Ar2 equ '-343' Txt1 equ 'abcde'#\ `Ar3,`Ar3#\ '1234'#\ Ar1#\ '%f, sv',Ar1,Ar2 ;convert text as one line match x,Txt1 {Txt1 equ x} |
|||
29 Mar 2023, 07:50 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.