flat assembler
Message board for the users of flat assembler.
Index
> Main > Virtual Word marker. |
Author |
|
revolution 20 Jun 2022, 10:39
Code: macro Virtual.df value { virtual dd value load .value dword from $$ end virtual } Virtual.df -45.887 mov eax,.value |
|||
20 Jun 2022, 10:39 |
|
macomics 20 Jun 2022, 11:34
Roman wrote:
Code: srtruc uint64 val& { . dq val label .low dword at . label .high dword at . + 4 } struc gdt_ptr off, lim { label . pword .lim dw lim .off dd off } |
|||
20 Jun 2022, 11:34 |
|
Roman 20 Jun 2022, 14:56
Quote:
What is the difference compared with equ ? In this macro. I mean simple write .value EQU -45.887 |
|||
20 Jun 2022, 14:56 |
|
revolution 20 Jun 2022, 15:00
EQU is just a textual replacement. It doesn't compute anything.
Code: value equ -45.887 dd_value = dword value dq_value = qword value dt_value = tword value Code: .value = dword -45.887 |
|||
20 Jun 2022, 15:00 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.