Question: 2. [70 pts) Write a 68000 assembly code that does the following: If a hardware RESET happens, it: 1. Prints some start-up/welcome message indicating a
2. [70 pts) Write a 68000 assembly code that does the following: If a hardware RESET happens, it: 1. Prints some start-up/welcome message indicating a hardware reset has happened. b. Then, prompts the user to enter a login and a password. The login name is "admin" and the password can be any string of your choice. c. After verifying correct login and password, it prints a message to welcome the user and then flashes the LEDs ON/OFF with some delay in between couple of times then it goes back to the main program. d. If the login information is wrong then it prints invalid login or password message and lets the user try again. And if a level-6 interrupt comes, it does the following: a. Prints some message indicating that a level-6 interrupt has happened. b. Then, prints: 1 ... 2 ... 3 ... 4 ... 5... 6 ... 7 on the screen with some delay in between and also displays them on the seven-segment display in order like this: B1234567 Then it goes back to the main program. The main program can be a very simple code simply incrementing some register and infinitely looping
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
