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
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
http://www.purebasic.com/documentation/ ... edasm.html- On x86 processors, the available volatile registers are: eax, ecx and edx, xmm0, xmm1, xmm2 and xmm3. All others must be always preserved.
- On x64 processors, the available volatile registers are: rax, rcx, rdx, r8, r9, xmm0, xmm1, xmm2 and xmm3. All others must be always preserved.