flat assembler
Message board for the users of flat assembler.
Index
> Windows > What is error with this code??? |
Author |
|
pool 04 Jan 2013, 04:56
..
Last edited by pool on 17 Mar 2013, 12:21; edited 1 time in total |
|||
04 Jan 2013, 04:56 |
|
LocoDelAssembly 04 Jan 2013, 06:10
unknow, the image is impossible to see for us, the server simply resets the connection. The source you provided is not compilable, this one fixes the problems:
Code: include 'win32wx.inc' proc func arg1, arg2 mov eax, eax mov ebx, ebx .label1: ret func_ret: ret endp dummy = func ; To cause "func" to be used which will convince proc macro not to remove the procedure label1_size = $ - func.label1 ; Not just ".label" because "func_ret" hid it (another fix is to change "func_ret:" with ".func_ret:" so you don't create a new namespace and thus both labels are under the same scope) |
|||
04 Jan 2013, 06:10 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.