flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 16 Jan 2021, 10:08
The hash (#) only works inside macro blocks.
Code: IntValz1 EQU 100 quat dd 0,0 match v, IntValz1 { mov [quat],v#.0 } |
|||
![]() |
|
Roman 16 Jan 2021, 10:21
Quote: match v, IntValz1 { Some times this is not handfull and very easy forgot this. Why not exist more simple mechanism ? Like this for example: Code: IntValz1 EQU 100 mov [vals],IntValz1(f) mov [vals],IntValz1(.0) ;or this vals dd IntValz1,IntValz1(f) |
|||
![]() |
|
Tomasz Grysztar 16 Jan 2021, 13:52
There is one in fasmg.
|
|||
![]() |
|
Roman 16 Jan 2021, 15:21
Quote: There is one in fasmg. Why not in fasmw 1.73 ? |
|||
![]() |
|
Tomasz Grysztar 16 Jan 2021, 15:24
The module that handles floats in fasm 1 is very limited and not easily extendable, while in fasmg the architecture was designed from ground up with such abilities in mind.
|
|||
![]() |
|
Roman 16 Jan 2021, 17:01
Very sad.
If create new method ? Not EQU. For example UVS Undefined Value State. Code: data1 dd 0,0,0,0,0,0,0 MyVal UVS 100 mov [data1],MyVal#f mov [data1],MyVal#.0 MyVal2 UVS 100,10,20,3 mov [data1],MyVal#f ;this unroll to four commands |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2023, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.