flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
Roman 09 May 2025, 02:29
fasmw 1.73 have neg for macro ?
Code: v = -1 b = neg v ;=1 |
|||
![]() |
|
revolution 09 May 2025, 02:49
Code: b = -v |
|||
![]() |
|
Roman 09 May 2025, 02:58
I do.
b = not (v)+1 This variant correct? |
|||
![]() |
|
revolution 09 May 2025, 04:48
If v is an EQU then use:
Code: b = -(v) |
|||
![]() |
|
a 09 May 2025, 23:15
Last edited by a on 04 Jun 2025, 10:23; edited 1 time in total |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.