1

I am looking for some help with a 68k program I am creating. I was wondering how to print each line separate string that i have defined as:

          str
           dc.b '   #     '
           dc.b '  # #    '
           dc.b ' #   #   '
           dc.b '#     #  '
           dc.b '#######  '
           dc.b '#     #  '
           dc.b '#     #  '

Currently my program prints it out to all 1 line. Any suggestions or help would be greatly appricated as i am completely stuck on it.

Randy
  • 11
  • 3

1 Answers1

0

I believe that what you want to do is to add ,CR,LF to each line ending to produce a carriage return and a linefeed.

I found similar code here.

You also need to define what CR and LF are:

CR EQU $0D
LF EQU $0A    
Octopus
  • 8,075
  • 5
  • 46
  • 66
  • i know that's one way but what if im not allowed to edit or add any additional codes to the message? is there any other way to separate the line? – Randy Nov 08 '15 at 09:08