Use Multisim to write and simulate an assembly language prog


Use Multisim to write and simulate an assembly language program for the 8051 MCU that will:
a) add two numbers 2 and 9

b) Display the sum on port 1.

these are the questions in case the picture is not visible. thank you

Solution

Ans: here iam explaining about multisimm program for the 8051:

8051 is not just a random number; it’s the name of one of the most frequently used microcontroller in robotics.

This single chip microcontroller is a very small black piece where are stored functions like CPU, RAM, ROM, Timer, Serial Communication Interface, I/O ports, etc.

The first version was presented in the 1980s, and since then the microcontroller has been embedded in a large variety of robotics projects.

The 8051 microcontroller is a small computer based on an architecture with support for embedded applications.

This is the biggest difference between a microcontroller and microprocessor. A microprocessor is used in personal computers while a microcontroller is used for embedded systems, especially in robotics.

8051 Microcontroller Programming

1. How to Program For 8051 Microcontroller – short tutorial with tools and steps to program the microcontroller in order to blink an LED. The tutorial can be useful for beginners;

2. Driving 8 LED C Programming 8051 Microcontroller – the programming code that uses a WHILE loop construct to drive eight LED’s;

3. Interfacing LED To Microcontroller & LED Blinking Program – tutorial with the steps described to show how to interface the LED to the microcontroller;

4. C Programming for 8051 Using KEIL IDE – tutorial for beginners that explain how Keil development and testing software can be used in C programming for 8051 microcontrollers;

5. Paul’s 8051 Tools, Projects and Free Code – tools and library for 8051 microcontroller series;

6. 8051 Tutorials – a series of tutorials from where you can learn how to program the 8051 microcontroller;

7. Tutorials for Microcontrollers – another series of tutorials how to write programming code for microcontrollers;

8. 8051 Microcontroller Tutorials – tutorials to learn how to use C or assembly language to program the microcontroller;

a)

b)

The Sum block performs addition or subtraction on its inputs. This block can add or subtract scalar, vector, or matrix inputs. It can also collapse the elements of a signal.

You specify the operations of the block with the List of signs parameter. Plus (+), minus (-), and spacer (|) characters indicate the operations to be performed on the inputs:

·         If there are two or more inputs, then the number of + and - characters must equal the number of inputs. For example, \"+-+\" requires three inputs and configures the block to subtract the second (middle) input from the first (top) input, and then add the third (bottom) input.

·         All nonscalar inputs must have the same dimensions. Scalar inputs will be expanded to have the same dimensions as the other inputs.

·         A spacer character creates extra space between ports on the block\'s icon.

·         For a round Sum block, the first input port is the port closest to the 12 o\'clock position going in a counterclockwise direction around the block. Similarly, other input ports appear in counterclockwise order around the block.

The Sum block first converts the input data type(s) to its accumulator data type, then performs the specified operations. The block converts the result to its output data type using the specified rounding and overflow modes.

 Use Multisim to write and simulate an assembly language program for the 8051 MCU that will: a) add two numbers 2 and 9 b) Display the sum on port 1. these are
 Use Multisim to write and simulate an assembly language program for the 8051 MCU that will: a) add two numbers 2 and 9 b) Display the sum on port 1. these are

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site