Maurice Tutor

(5)

$15/per page/Negotiable

About Maurice Tutor

Levels Tought:
Elementary,Middle School,High School,College,University,PHD

Expertise:
Algebra,Applied Sciences See all
Algebra,Applied Sciences,Biology,Calculus,Chemistry,Economics,English,Essay writing,Geography,Geology,Health & Medical,Physics,Science Hide all
Teaching Since: May 2017
Last Sign in: 398 Weeks Ago, 4 Days Ago
Questions Answered: 66690
Tutorials Posted: 66688

Education

  • MCS,PHD
    Argosy University/ Phoniex University/
    Nov-2005 - Oct-2011

Experience

  • Professor
    Phoniex University
    Oct-2001 - Nov-2016

Category > Computer Science Posted 12 Sep 2017 My Price 10.00

micro-controller

Please write in assembly language. Please comment liberally.

The purpose of this lab is to control and program the serial port of the micro-controller in a given sequence. Two switches SW1 and SW2are are connected to the micro-controller input port bits P1.1 and P1.2. The two switches define the required Baud rate requirements for the serial communication as follows:

SW1

SW2

Baud (bps)

0

0

1200

0

1

2400

1

0

4800

1

1

9600

Four LEDA????1s PL1 (Baud 1200), PL2 (Baud 2400), PL3 (Baud 4800), and PL4 (Baud 9600) are connected to output port pins P2.1, P2.2, P2.3, and P2.4 respectively. Each will indicate the Baud rate selected by the two switches.

Steps

First, write a subroutine (Baud_Code) starting at code address 150H to detect the setting of SW1 and SW2 and return a value in accumulator B (1 for 1200, 2 for 2400, 3 for 4800, and 4 for 9600 Baud.

Second, write a subroutine (Serial_Config) starting at code address 200H to configure the serial port for the 4 modes according to SW1 and SW2 setting and using mode 1.

Third, write a subroutine (Baud_Stat) starting at code address 250H to flash the correct pilot light at once per second using Timer 0 in the 16 bit mode.

.

Fourth, write a subroutine (Ser_Display) starting at code memory address 300H to display on the serial port the message A????1SERIAL BAUD IS XXXX BPSA????1. A????1XXXXA????1 is the actual Baud rate value.

Finally, test and debug your program. Also document and submit your final report along with the well documented list file.

Answers

(5)
Status NEW Posted 12 Sep 2017 02:09 PM My Price 10.00

Hel-----------lo -----------Sir-----------/Ma-----------dam-----------Tha-----------nk -----------You----------- fo-----------r u-----------sin-----------g o-----------ur -----------web-----------sit-----------e a-----------nd -----------and----------- ac-----------qui-----------sit-----------ion----------- of----------- my----------- po-----------ste-----------d s-----------olu-----------tio-----------n.P-----------lea-----------se -----------pin-----------g m-----------e o-----------n c-----------hat----------- I -----------am -----------onl-----------ine----------- or----------- in-----------box----------- me----------- a -----------mes-----------sag-----------e I----------- wi-----------ll

Not Rated(0)