flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution
Code: macro Virtual.df value { virtual dd value load .value dword from $$ end virtual } Virtual.df -45.887 mov eax,.value |
|||
![]() |
|
macomics
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 } |
|||
![]() |
|
Roman
Quote:
What is the difference compared with equ ? In this macro. I mean simple write .value EQU -45.887 |
|||
![]() |
|
revolution
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 |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.