Write and assemble a program to add all the single digits

Assignment Help Other Engineering
Reference no: EM131683922

Assembler and Simulator

OBJECTIVES:

- To examine and use an 8051 assembler.
- To examine and use an 8051 simulator.

ACTIVITY 1
Write and assemble a program to move value 99H to register A. Then from register A move it to all registers R0 - R7. Use the simulator to single-step the program and examine the registers.

ACTIVITY 2
Write and assemble a program to add all the single digits of your ID number and save the result in R2. Pick 7 random numbers (all single digit) if you do not want to use your ID number. Then use the simulator to single-step the program and examine the registers.

1. Indicate the size (8- or 16-bit) of each of the following registers.

            PC =              A=                        B=

            R0=               R1=                       R2=            R7=

2. For Question 1, indicate the largest value (in decimal) that each register can contain.

            PC =              A=                                    B=

            R0=                   R1=                R2=                     R7=

3. For Question 1, indicate the largest value (in hex) that each register can contain.

PC = FFFFH A=FFH B= FFH


R0= FFH R1= FFH R2= FFH R7=FFH

4. Who generates each of the following files and what is the use of each.

.asm
.lst

.obj

.abs

.hex

Reference no: EM131683922

Questions Cloud

Travel to the planet mars to be a member of a colony there : You are planning to travel to the planet Mars to be a member of a colony there. The colony needs to be self-sufficient for production of food
Explain the importance of a project charter : Explain to your boss the importance of a project charter and what could happen if you decided to proceed ahead without a charter.
How the media example or story is a reflection of cultural : Why are some things valuable in one culture and not in another? Reflect on your personal experience of transitioning to adulthood.
Analyze the prioritizing process at d d williamson : Analyze the prioritizing process at D. D. Williamson. Suggest two recommendations to improve the prioritizing process. Use at least four quality resources.
Write and assemble a program to add all the single digits : 8051 Assembler and Simulator - Write and assemble a program to add all the single digits of your ID number and save the result in R2. Pick 7 random numbers
Compute the mean weekly earnings of female workers : Test at the 2.5% significance level whether the mean weekly earnings of female workers who are not union members are less than those of female workers.
What were the main results for health outcomes in parents : What were the main results for health outcomes in parents and/or children, Name at least one criticism of the study
Review eriksons stage of identity : Is identity development ever complete? Why or why not? What are the signs that someone has reached identity achievement?
Examine the impact of the recession on dining out : An economist was interested in studying the impact of the recession on dining out, including drive-thru meals at fast food restaurants.

Reviews

Write a Review

Other Engineering Questions & Answers

  Estimate the production rates of chemical flows

EGB363 Assessment For the production rate given above and investigated ratios of chemical production, estimate the production rates

  Biotechnology questions

Biotechnology Questions, Virus-mediated transfer of cellular genetic material from one bacterial cell to another by means of virus particles is called:

  Computes the antenna array pattern

ECE 584Antenna Theory and Design, Spring 2017 Take Home Midterm Project. Write your own linear array computer program

  Draw the decision tree and a two-way sensitivity plot

An orange grower in Florida faces a dilemma. Draw the decision tree and a two-way sensitivity plot for this problem. Would you make a recommendation to the farmer based on this result

  Determine the frp area and the bending strength

Determine the FRP area and the bending strength corresponding to the balanced strengthening configuration, for the section reported in given Exercise.

  Determine the mach number

Carbon dioxide enters an adiabatic nozzle at 1200 K with a velocity of 50 m/s and leaves at 400 K. Assuming constant specific heats at room temperature, determine the Mach number (a) at the inlet and (b) at the exit of the nozzle.

  What covers surfaces nd protects both the outer suface

What  covers surfaces nd protects both the outer suface like the skin and inner surfaces of organs like the intestine, forms glands, and lines cavities of the body.

  Biometrics verification is just one way companies are using

biometrics verification is just one way companies are using technology to help. this week we will discuss biometric

  Short notes on bionic-robotic limbs

Problem (Issues that the public is facing that this technology will have a profound effect on)

  Shown with the agilent function generator

Construct the circuit with MultiSIM using a 10% tolerance for the capacitor. Replace the AC source shown with the Agilent Function Generator.

  Construct a vi that has three leds

Construct a VI that has three LEDs on the front panel. When you first run the VI the first LED should turn on and stay on. After one second the second LED should turn on and stay on.

  Tri-fold brochure to describe and promote your technology

Create a future tech (not one already in existence or previously thought of by someone else - do some research) that helps fix current-day issue.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd