flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
revolution 16 Feb 2009, 08:28
Erm? Not having to define constants? Did you have some namespace collision that you had to solve?
|
|||
![]() |
|
bitRAKE 16 Feb 2009, 10:18
No just playing down at the coffee shop - wondering how much the preprocessor could do. Think there is a more efficient preprocessor lookup using just match.
|
|||
![]() |
|
bitRAKE 28 May 2009, 06:29
The more efficient version with a single match:
Code: struc LoadCursor hInstance,lpCursorName { . equ ; punt Code: struc LoadCursor hInstance,lpCursorName { . equ ; punt |
|||
![]() |
|
bitRAKE 22 Jul 2009, 03:36
Here is a more practical example:
Code: macro R64FromR32 [r64,r32] { match A:=r32==B:C,::eax=rax:edx=rdx:ecx=rcx:ebx=rbx:ebp=rbp:esi=rsi:edi=rdi:esp=rsp:r8d=r8:r9d=r9:r10d=r10:r11d=r11:r12d=r12:r13d=r13:r14d=r14:r15d=r15:: \{ r64 equ B \} } Code: R64FromR32 MY_REG,eax mov eax,[MY_REG] Usage back link: http://board.flatassembler.net/topic.php?p=98156#98156 |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.