inf2146604
11/28/2018 2:38:01 AM
Storage declarations
length: dc.l 6,7,8,5,5,3,4,4,6,9,7,8
month: dc.b 'January '
dc.b 'February '
dc.b 'March '
dc.b 'April '
dc.b 'May '
dc.b 'June '
dc.b 'July '
dc.b 'August '
dc.b 'September '
dc.b 'October '
dc.b 'November '
dc.b 'December '
title: dc.b 'Program 1, Student',0
skipln: dc.b 0
prompt: dc.b 'Enter a date in MM/DD/YYYY format:',0
buffer: ds.b 82
answer: dc.b 'The date entered is '
date: ds.b 24
end
The Expert is able to complete my requirement in such a short time and the quality of the assignment is definitely surpass what i expected. Thanks
|
inf2146604
11/28/2018 2:37:20 AM
Register use start: initIO * Initialize (required for I/O)
setEVT * Error handling routines
* initF * For floating point macros only
lineout title
lineout skipln
lineout prompt
linein buffer
cvta2 buffer,#2
subi.l #1,D0
move.l D0,D1
mulu #10,D0
lea month,A0
adda.l D0,A0
move.l (A0)+,date
move.l (A0)+,date+4
move.w (A0)+,date+8
lea date,A0
lea length,A1
mulu #4,D1
adda.l D1,A1
adda.l (A1),A0
move.b #' ',(A0)+
move.b buffer+3,(A0)+
move.b buffer+4,(A0)+
suba.l #2,A0
stripp (A0),#2
adda.l D0,A0
move.b #',',(A0)+
move.b #' ',(A0)+
move.b buffer+6,(A0)+
move.b buffer+7,(A0)+
move.b buffer+8,(A0)+
move.b buffer+9,(A0)+
move.b #'.',(A0)+
clr.b (A0)
lineout skipln
lineout answer
break * Terminate execution
|
inf2146604
11/28/2018 2:36:53 AM
Programmer:
* Class Account:
* Assignment or Title:
* Filename:
* Date completed: Problem statement:
* Input:
* Output:
* Error conditions tested:
* Included files:
* Method and/or pseudocode:
* References: ORG $0
DC.L $3000 * Stack pointer value after a reset
DC.L start * Program counter value after a reset
ORG $3000 * Start at location 3000 Hex #minclude /home/cs/faculty/riggins/bsvc/macros/iomacs.s
#minclude /home/cs/faculty/riggins/bsvc/macros/evtmacs.s
|
inf2146604
11/28/2018 2:36:24 AM
mulu #4,D1
adda.l D1,A1
adda.l (A1),A0
move.b #' ',(A0)+
move.b buffer+3,(A0)+
move.b buffer+4,(A0)+
suba.l #2,A0
stripp (A0),#2
adda.l D0,A0
move.b #',',(A0)+
move.b #' ',(A0)+
move.b buffer+6,(A0)+
move.b buffer+7,(A0)+
move.b buffer+8,(A0)+
move.b buffer+9,(A0)+
move.b #'.',(A0)+
clr.b (A0)
lineout skipln
lineout answer
break * Terminate execution Storage declarations
length: dc.l 6,7,8,5,5,3,4,4,6,9,7,8
month: dc.b 'January '
dc.b 'February '
dc.b 'March '
dc.b 'April '
dc.b 'May '
dc.b 'June '
dc.b 'July '
dc.b 'August '
dc.b 'September '
dc.b 'October '
dc.b 'November '
dc.b 'December '
title: dc.b 'Program 1, Student',0
skipln: dc.b 0
prompt: dc.b 'Enter a date in MM/DD/YYYY format:',0
buffer: ds.b 82
answer: dc.b 'The date entered is '
date: ds.b 24
end
|
inf2146604
11/28/2018 2:35:44 AM
#minclude /home/cs/faculty/riggins/bsvc/macros/iomacs.s
#minclude /home/cs/faculty/riggins/bsvc/macros/evtmacs.s Register use start: initIO * Initialize (required for I/O)
Register use start: initIO * Initialize (required for I/O)
setEVT * Error handling routines
* initF * For floating point macros only lineout title
lineout skipln
lineout prompt
linein buffer
cvta2 buffer,#2
subi.l #1,D0
move.l D0,D1
mulu #10,D0
lea month,A0
adda.l D0,A0
move.l (A0)+,date
move.l (A0)+,date+4
move.w (A0)+,date+8
lea date,A0
lea length,A1
|
inf2146604
11/28/2018 2:34:07 AM
It still doesn't work for me. please check this. I tried another 32bit computer and still the same. I give you all my screenshots and program:
Output is being recorded in ,outfile8923
Program 1, Student
Enter a date in MM/DD/YYYY format:
09/15/1998
Address error at intruction before address 00003098 Programmer:
* Class Account:
* Assignment or Title:
* Filename:
* Date completed: Problem statement:
* Input:
* Output:
* Error conditions tested:
* Included files:
* Method and/or pseudocode:
* References:ORG $0
DC.L $3000 * Stack pointer value after a reset
DC.L start * Program counter value after a reset
ORG $3000 * Start at location 3000 Hex
|
inf2146604
11/23/2018 1:15:12 AM
The program assembles correctly and prompts for the date. I am using X-win32 on a windows machine.
The assignment was done according to the required instructions and intact it was done methodically and I am very satisfied with it, In fact, it was ready before the deadline. I would recommend this site to everyone else.
|
len2146604
10/22/2018 12:58:22 AM
Additional Details - You do not need to do input checking. You can assume that the input value is a valid input. Your response line must be on a single line as per the example output. You do not need any loops/branches.
|