quick question?

Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Feb 2008
Posts: 1
Reputation: kaineo is an unknown quantity at this point 
Solved Threads: 0
kaineo kaineo is offline Offline
Newbie Poster

quick question?

 
0
  #1
Feb 28th, 2008
  1. start:
  2. initIO * Initialize (required for I/O)
  3. lineout title
  4.  
  5. continue:
  6. lineout skipln
  7. lineout prompt
  8. linein buffer * Get input
  9. cvta2 buffer+6,#4
  10. move.l #2008,D1
  11. sub.l D0,D1
  12. move.l D1,D0
  13. ext.l D0
  14. cvt2a age,#3
  15. Stripp age,#3
  16. lea age,A1
  17. * adda.l D0,A5
  18. move.b #'.',(A5)
  19. adda.l #1,A5
  20. move.b #' ',(A5)
  21. adda.l #1,A5
  22. move.b #'*',(A5)
  23. adda.l #1,A5
  24. move.b buffer,answer+5
  25. move.b buffer+1,answer+6
  26. move.b buffer+3,answer+8
  27. move.b buffer+4,answer+9
  28. * move.b A5,answer+10
  29. * move.b A5+1,answer+11
  30. * move.b A5+2,answer+12
  31. lea stars+20,A2
  32. adda.l D0,A2
  33.  
  34. lineout stars
  35. lineout answer
  36. lineout period
  37. lineout stars
  38. break * Terminate execution
  39. *
  40. * Storage declarations
  41.  
  42. title: dc.b '** tile **',0
  43. buffer: ds.b 80
  44. skipln: dc.b 0
  45. prompt: dc.b 'Please Enter your birthday (xx/xx/xxxx) ...',0
  46. answer: dc.b '* On xx/xx/2008, you will be '
  47. age: ds.b 8
  48. period: dc.b '.'
  49. stars: dcb.b 40,'*'
  50. end

can anyone explain to me why the period goes on the next line?
i've been playing around with it for quite a while, any constructive criticism is welcome.

thanx in advance.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Assembly Forum
Thread Tools Search this Thread



Tag cloud for Assembly
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC