Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Apr 27th, 2008, 2:54 AM   #1
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
Really bugging me

OK this is going to seem bad but anyway.

Your probably going to say why are you trying to learn assembly in this case.

Im hvaving alot of trouble compiling linking etc even a basic helloworld program in NASM. Running on WinXP, would be greatful if somebody could provide and example of how to do this.

I've read the documentation on this over and over but no luck.

Cheers,
Chris
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old Apr 27th, 2008, 9:15 PM   #2
Grich
Hobbyist Programmer
 
Grich's Avatar
 
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 166
Rep Power: 1 Grich is on a distinguished road
Re: Really bugging me

Are you compiling through command prompt or the NASM IDE?
__________________
SYNTAX ERROR ...
Grich is offline   Reply With Quote
Old Apr 28th, 2008, 2:45 AM   #3
Freaky Chris
Hobbyist Programmer
 
Freaky Chris's Avatar
 
Join Date: Dec 2007
Location: England
Posts: 169
Rep Power: 1 Freaky Chris is on a distinguished road
Send a message via MSN to Freaky Chris
Re: Really bugging me

command prompt, One of my issue's is that when i try to compile it into the object file NASM doesn't recognise the ..start and starts throwing errors. Without this it seems to compile fine.

However when i try to link the object file via ALINK it complains as there is no entry point set.
__________________
Who said i couldn't program
sarcasm = raw_input('Type in a sarcastic remark: ')
print sarcasm
Freaky Chris is offline   Reply With Quote
Old Apr 30th, 2008, 10:29 PM   #4
Grich
Hobbyist Programmer
 
Grich's Avatar
 
Join Date: Sep 2007
Location: Sydney - Australia
Posts: 166
Rep Power: 1 Grich is on a distinguished road
Re: Really bugging me

Mmm... That's weird, could you show me your source.
__________________
SYNTAX ERROR ...
Grich is offline   Reply With Quote
Old Aug 15th, 2008, 6:02 PM   #5
Echo
Newbie
 
Join Date: Aug 2008
Posts: 5
Rep Power: 0 Echo is on a distinguished road
Re: Really bugging me

It could be your assembler and linker. I assume your using ld.exe and nasm.exe for windows. Try redownloading them.
__________________
http://www.echo.net84.net/
Echo is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bugging ... Compile Time Error Planet_EN C 2 Mar 25th, 2007 3:38 AM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 1:47 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC