what about asm code that executes during compile time?
something like macro, but with x86 and x64 instructions?
accessing registers, etc to play with data during compile?
for example
macro withoutasm arg1 {
if arg1 = 2
dd arg1
end if
}
asmacro withasm arg1 {
;assume ebx is the pointer to the asmacro declaration args.
;making ebx points to arg1
mov eax,[ebx]
cmp eax,[arg1]
etc...
}
it would be tricky to imagine more applications, but for example, execute final code with this macro to tests stuff and get reports...
and be able to handle more stuff with preprocessing