Question: 7.1 Problem Statement Wnie an LC-3 program that given the day, month and year will etum the day of the week. 7.1.1 Inputs Before execution

7.1 Problem Statement Wnie an LC-3 program that given the day, month and year will etum the day of the week. 7.1.1 Inputs Before execution begins, it is assumed that locations x31F0, 31F1, and x31 F2 contain the following inputs: x31FO The usual number of the month x31FI The day of the month x31F2 The year For the example we have been using, June 1, 2005, we could use this code fragment in a different module .ORIG FILL ,FILL ,FILL x31FO #6 #1 #2005 7.1.2 Outputs The outputs are: . A number between 0 and 6 that corresponds to the days of the week, starting with Sunday. should be stored in location x31F3. The corresponding name of the day is displayed on the screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
