Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Create the following assembly language problem in MPLAB: Create your own program where there is a menu to enter the session of some Username. Take

Create the following assembly language problem in MPLAB:

Create your own program where there is a menu to enter the session of some Username.  Take the low nibble of port B as inputs (no longer as outputs) with dipswitch.  The original message is still WELCOME  After 2 seconds the screen clears and the message "USER SELECTION" appears  U1 U2 U3 should appear in the second line. Each of them is one of the members  From here and from the USER option, it will be the correct password entered in the dipswitch: to. Put in the first line "Choose the magic number" b. Wait half a second. c. Put in the second line the account number of the student user. d. Wait for the user, in this case the teacher, to give an answer through the low pins of the port B. The correct answer will be obtained as follows according to the case of the number of bill; if the total sum of the last three digits is:  A multiple of 2 must necessarily set the RB0 bit high  A multiple of 3 must necessarily set the RB1 bit high  A multiple of 5 must necessarily set the RB2 bit high  For any other number the high bit will be RB3 That is, as shown in the table: 

image text in transcribed

Suma Correcto Suma Correcto Suma Correcto Suma Correcto 1 RB3 8 RBO 15 RB1 RB2 22 RBO N RBO 9 RB1 16 RBO 23 RB3 3 RB1 10 RBBO RB2 17 RB3 24 RBO RB1 4 RBO 11 RB3 18 RBO RB1 25 RB2 5 RB2 12 RBO RB1 19 RB3 26 RBO 6 RBO RB1 13 RB3 20 RBO RB2 27 RB3 7 RB3 14 RBO 21 RB1 Suma Correcto Suma Correcto Suma Correcto Suma Correcto 1 RB3 8 RBO 15 RB1 RB2 22 RBO N RBO 9 RB1 16 RBO 23 RB3 3 RB1 10 RBBO RB2 17 RB3 24 RBO RB1 4 RBO 11 RB3 18 RBO RB1 25 RB2 5 RB2 12 RBO RB1 19 RB3 26 RBO 6 RBO RB1 13 RB3 20 RBO RB2 27 RB3 7 RB3 14 RBO 21 RB1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Visual Basic Net Database Programming

Authors: Rod Stephens

1st Edition

0789726815, 978-0789726810

More Books

Students also viewed these Databases questions