Structure variables with inline asm
Posted: Tue Aug 08, 2017 2:53 pm
Is it always valid to use structure variables like this
and if so, which registers are free to use (unaltered by the compiler when it encounters a structure variable) ?
Code: Select all
Structure test
a.l
b.l
EndStructure
v.test\a = 1
EnableASM
mov edx, 1
mov eax, v\a
add edx, eax
mov v\b, edx
DisableASM
Debug v\b