This does not compile (v1 and v2 are dwords)
macro ¤OR quad(r, v1, v2)
r = v1 or v2
end macro
ERROR: ASSEMBLER:
ERR: qword [ebp-60]!! Unidentified instruction: qword
LINE: 2083
FILE: "main source
this compiles but after a few calls to the function other areas of the program start to fall apart:
FUNCTION ¤OR(byval quad v1, v2) as quad
addr rcx,v1
addr rdx,v2
mov eax,[rcx]
or eax,[rdx]
mov [rcx],eax
mov eax,[rcx+3]
or eax,[rdx+3]
mov [rcx+3],eax
return v1
end function
This works and it is completely stable but does not work with quads:
macro ¤OR dword(r, v1, v2)
r = v1 or v2
end macro