Hello habran and johnsa,
I am working on a macro to extend the capabilities of the built-in invoke macro. ml.exe assembles my code without any error message. HJWasm 2.16 reports the following messages :
Window.asm(84) : Error A2014: invalid combination of opcode and operands
Window.asm(84) : Error A2014: invalid combination of opcode and operands
Window.asm(89) : Error A2014: invalid combination of opcode and operands
Window.asm(89) : Error A2014: invalid combination of opcode and operands
Window.asm: 93 lines, 1 passes, 109 ms, 0 warnings, 4 errors
HJWasm complains about the ret instructions. Could you point me in the right direction? Thanks.
WndProc PROC hWnd:HWND, uMsg:UINT, wParam:WPARAM, lParam:LPARAM
.IF uMsg==WM_DESTROY
_invoke PostQuitMessage,NULL
.ELSE
_invoke DefWindowProc,hWnd,uMsg,wParam,lParam
ret
.ENDIF
xor eax,eax
ret
WndProc ENDP
Note that was the same cryptic error message which I got with the latest HJWasm when building my MasmBasic source. They fixed it a day or two ago. When did you install your 2.16 version?
Hi Jochen,
My HJWasm version 2.16 dated November 9. I downloaded a new copy dating November 13 from Terraspace and this new release fixed the problem. Thanks for your help :t
Thanks Jochen :t
Hi Wortex,
We are fixing bits and peaces on AVX2 and EVEX instructions lately, so we will often update releases until we've got everything right.
We apologise for inconvenience :biggrin:
Hi habran,
No problem. Keep up the good work :t