| | |
quick question?
Please support our Assembly advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Feb 2008
Posts: 1
Reputation:
Solved Threads: 0
Assembly Syntax (Toggle Plain Text)
start: initIO * Initialize (required for I/O) lineout title continue: lineout skipln lineout prompt linein buffer * Get input cvta2 buffer+6,#4 move.l #2008,D1 sub.l D0,D1 move.l D1,D0 ext.l D0 cvt2a age,#3 Stripp age,#3 lea age,A1 * adda.l D0,A5 move.b #'.',(A5) adda.l #1,A5 move.b #' ',(A5) adda.l #1,A5 move.b #'*',(A5) adda.l #1,A5 move.b buffer,answer+5 move.b buffer+1,answer+6 move.b buffer+3,answer+8 move.b buffer+4,answer+9 * move.b A5,answer+10 * move.b A5+1,answer+11 * move.b A5+2,answer+12 lea stars+20,A2 adda.l D0,A2 lineout stars lineout answer lineout period lineout stars break * Terminate execution * * Storage declarations title: dc.b '** tile **',0 buffer: ds.b 80 skipln: dc.b 0 prompt: dc.b 'Please Enter your birthday (xx/xx/xxxx) ...',0 answer: dc.b '* On xx/xx/2008, you will be ' age: ds.b 8 period: dc.b '.' stars: dcb.b 40,'*' 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.
![]() |
Similar Threads
- A quick question about "rank" (DaniWeb Community Feedback)
- Quick question on a loop. (C++)
- Quick Question: Is J# the same thing as Java? (Java)
- A quick question (Game Development)
- quick question (C++)
- quick question (Geeks' Lounge)
- Question about 321Studios (Windows Software)
- AGP support video card question (Monitors, Displays and Video Cards)
- Quick question (Troubleshooting Dead Machines)
- Laptop LCD built into a car? (Monitors, Displays and Video Cards)
Other Threads in the Assembly Forum
- Previous Thread: how to convert decimal value as string input to its hex equivalent
- Next Thread: Assembly help: writing encrypted data to file?
| Thread Tools | Search this Thread |
Tag cloud for Assembly
3d 68hc11 6811 80386 adress array asm assembler assembly boot bootloader buffer compression cursor debug directory division docs dos draw emulator endtask error exceptions file int10h integer intel interrupt interrupts language loop nohau osdevelopment print program range read remainder shape string text theory tsr x86





