flat assembler
Message board for the users of flat assembler.
Index
> Main > Generate specific string under macro |
Author |
|
revolution 10 Jan 2021, 02:11
Code: Numbers: rept 1001 x:0 { db "'",`x,"'" } |
|||
10 Jan 2021, 02:11 |
|
Roman 10 Jan 2021, 08:02
Quote:
How unroll this to text data ? Save in text file and include in project ? |
|||
10 Jan 2021, 08:02 |
|
revolution 10 Jan 2021, 08:32
At the command prompt:
Code: fasm numbers.asm numbers.txt |
|||
10 Jan 2021, 08:32 |
|
Roman 10 Jan 2021, 08:40
I thinked about this:
Code: format text as 'txt' Numbers: rept 1001 x:0 { db "'",`x,"'" } Last edited by Roman on 10 Jan 2021, 08:41; edited 1 time in total |
|||
10 Jan 2021, 08:40 |
|
revolution 10 Jan 2021, 08:41
Maybe
Code: format binary as 'txt' |
|||
10 Jan 2021, 08:41 |
|
Roman 10 Jan 2021, 08:44
fasm numbers.asm numbers.txt
Its write in bat file ? |
|||
10 Jan 2021, 08:44 |
|
revolution 10 Jan 2021, 08:55
If you want to make a .bat file then:
Code: fasm numbers.asm numbers.bat Code: fasm numbers.asm numbers.mp4 |
|||
10 Jan 2021, 08:55 |
|
Roman 11 Jan 2021, 09:31
revolution
You did not understand me. I asking whear is write this ? Code: fasm numbers.asm numbers.txt I try write this in fasm and compile and get error. Illegal instruction. For this reason i asked about bat file. I mean compile from bat file. Because i not understand how use this and where is write this code: Code: fasm numbers.asm numbers.txt |
|||
11 Jan 2021, 09:31 |
|
revolution 11 Jan 2021, 09:52
You type that at the command prompt. fasm is the executable filename followed by the two parameters for the input source and the output destination.
Code: C:\> fasm filein.asm fileout.ext |
|||
11 Jan 2021, 09:52 |
|
Fulgurance 12 Jan 2021, 12:05
Thanks you !
|
|||
12 Jan 2021, 12:05 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.