flat assembler
Message board for the users of flat assembler.

Index > Windows > empty .data section cause error?

Author
Thread Post new topic Reply to topic
primer



Joined: 05 Nov 2010
Posts: 12
primer 06 Nov 2010, 08:07
Hi, is this a bug?

Code:
format PE console
include 'win32ax.inc'
.data
    
.code
start:
    cinvoke printf,"%s","hello"
    ret
.end start
    

compile this success but failed to run executes, remove empty .data section or add something will make it run correctly.
Post 06 Nov 2010, 08:07
View user's profile Send private message Reply with quote
revolution
When all else fails, read the source


Joined: 24 Aug 2004
Posts: 20453
Location: In your JS exploiting you and your system
revolution 06 Nov 2010, 08:38
Post 06 Nov 2010, 08:38
View user's profile Send private message Visit poster's website Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.