Skip to content

Commit

Permalink
only the report is missing.
Browse files Browse the repository at this point in the history
  • Loading branch information
Youssef-Beltagy committed Dec 10, 2020
1 parent b949b3f commit f36bc0f
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 25 deletions.
23 changes: 2 additions & 21 deletions src/final_output.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
EASy68K output log file: 12/9/2020 9:01:13 PM
EASy68K output log file: 12/9/2020 9:47:25 PM

___ _ _ _ ___ _
/ __\ |__ (_) ___| | _____ _ __ / __\___ _ _ _ __ / \
Expand All @@ -25,7 +25,7 @@ Please input your addresses as 8 hex-digits!
The most significant byte must be $00.
When the program pauses, press enter to continue or q to exit.

Please enter the starting address (or q to exit): 00009000
Please enter the starting address (or q to exit): 000090000
Please enter the ending address: 00009fff
00009000 BRA $0000940E
00009004 MOVEM.W (A1)+,D4/D5/D6/D7/A0/A1/A2/A3/A4/A5
Expand Down Expand Up @@ -1872,29 +1872,10 @@ Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): sfda
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): asdfa
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): aba
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): a
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): a
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): a
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit): qff0001000
Invalid input: The most significant byte must be $00.
Please enter the starting address (or q to exit): ff00--0044001000
Please enter the ending address: f0001000
Invalid input: The most significant byte must be $00.
Please enter the starting address (or q to exit):
Invalid input: The input must be 8-digit hex number
Please enter the starting address (or q to exit):
Expand Down
7 changes: 3 additions & 4 deletions src/main.X68
Original file line number Diff line number Diff line change
Expand Up @@ -1352,7 +1352,7 @@ NOTROUTINE:
*If the EA is invalid, calls DATAROUTINE.
*input: a6
*Output: a6, a1, and the value pointed to by a1
movem.l a2/d7/d2/d3, -(sp)
movem.l a2/d7/d2, -(sp)
*could optimize by not copying anything except a2, d7, d2, and d3

jsr IS_EA_VALID
Expand All @@ -1371,10 +1371,9 @@ NOTROUTINE:

*prepare to call GET_EA
move.w (a6)+,d2
move.b TEMP_VARIABLE,d3

*d2.W is prepared
*d3.b is prepared
*d3.b is not needed because NOT doesn't allow immediate addressing modes.
*a6 was incremented and is prepared.
*a1 points to the buffer
jsr GET_EA
Expand All @@ -1385,7 +1384,7 @@ NOTROUTINE:
move.b #0,(a1)+

NOTROUTINE_END:
movem.l (sp)+,a2/d7/d2/d3
movem.l (sp)+,a2/d7/d2
rts
* End of NOTROUTINE subroutine

Expand Down
Binary file added to_submit/SelfGradingSheet.docx
Binary file not shown.

0 comments on commit f36bc0f

Please sign in to comment.