Bug when declaring struc as first element after [Section .bss]
Check the code sample below:
Code:
[Section .bss]
;hInstance resd 1 ;Instance
struc test
.first resb 1
.second resb 2
endstruc
hInstance resd 1 ;Instance
[section .text]
[GLOBAL] start
start:
push 0
extern GetModuleHandleA
call GetModuleHandleA
push eax
push hInstance
extern HexPrint
pop eax
mov [hInstance],eax
call HexPrint
push 0
extern ExitProcess
call ExitProcess