EASy68K  
It is currently Wed Sep 19, 2018 5:08 am

All times are UTC




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Mar 22, 2010 4:14 am 
Offline
User avatar

Joined: Mon Mar 22, 2010 3:47 am
Posts: 5
*-----------------------------------------------------------
* It compiles and Executes But No output in Window
* It's a Blank Windows? :(
*
*
*-----------------------------------------------------------
ORG $1000
START: ; first instruction of program



MOVE.B #9,D0
TRAP #15 ; halt simulator

CR EQU $0D ;ASCII CODE FOR CARRIAGE RETURNS
LF EQU $0A ;ASCII FOR LINE FEED
MESSAGE DC.B 'HELLO CRUEL WORLD' , CR,LF
DC.B 'ALL YOUR BASE ARE BELONG TO US', CR,LF
DC.B 'YOU CAN ALSO MAKE MULTIPLE LINES', CR,LF
DC.B 'IN ONE DC.B STATEMENT',CR, LF,'JUST REMEMBER' CR,LF
DC.B 'TO SEPARATE THEM WITH A COMMA', CR,LF
DC.B 'AND END YOUR LAST STAEMENT WITH A ZERO',CR,LF,0


END START ; last line of source

_________________
I need a Black Belt in Game Programming


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 22, 2010 1:30 pm 
Offline

Joined: Mon Dec 27, 2004 11:40 pm
Posts: 318
You have to include the code to output the strings not just define the strings themselves.

Go read the examples again and look for what you've left out.

Lee.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Mar 29, 2010 10:22 am 
Offline
User avatar

Joined: Mon Mar 22, 2010 3:47 am
Posts: 5
Hi Lee,

Your right the strings are only defined.

I'm not outputting them.

Thanks.

_________________
I need a Black Belt in Game Programming


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC


Who is online

Users browsing this forum: Baidu [Spider] and 2 guests


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group