Determine the size of the sfr section and the gpr section

Assignment Help Electrical Engineering
Reference no: EM13670601

1. The figure below shows the file registers of three different microcontrollers. For each of these file registers, determine the size of the SFR section and the GPR section.

1679_Determine the size of the SFR section.png

2. What is the content of WREG and each of the RAM locations after the execution of the following program?

ORG 00

MOVLW 2B

MOVWF

MOVWF 3

MOVWF 4

MOVWF 5

ADDWF, 0

ADDWF 3, 1

ADDWF 4, W

ADDWF 5, 1

MOVLW ' 9 '

ADDLW 10H

MOVWF 6

COMF 3

MOVFF 3, 2

ADDWF 1, F

END

3. Write the machine code along with the ROM addresses for following Assembly code.

LOCI EQU 20H

LOC2 EQU 10H

ORG 00H
MOVLW B110011101'
ADDLW D'25'
MOVWF LOCI
MOVFF LOCI, LOC2

HERE GOTO HERE

END

4. What is the status of the C, Z, DC, and OV flags after the execution of the following lines of code?

MOVLW FIN
ADDLW 1

5. Write an assembly program to add 10 8-bit numbers saved in the RAM location 1-10H. If the sum causes an overflow, the result should be saved in the memory location 11H otherwise it should be saved in location 12H.

6. Write and assembly code to subtract an 8-bit number 10 times from another 8-bit number.

7. Write an assembly program to compare between two 8-bit numbers A and B. If A is larger than B, it should be saved in memory location 10H. Otherwise, B should be saved in that location. Hint: Use the instructions CPFSLT or CPFSGT

Reference no: EM13670601

Questions Cloud

Write an article within the general field of microbiology : You are the science reporter for your local newspaper. Your editor asks you to write an article on a major topic within the general field of microbiology.
The middle of intergalactic space, : A space explorer moving through the middle of intergalactic space, very far from any planet or star, notices a large rock floating around the cabin of the spaceship. The explorer wishes to take it as a specimen from an alien planet. Should he p..
What do you think is his motive behind this idea : What do you think is his motive behind this idea and why does he want formalized policies to be instituted which in effect will lead to a form of internet regulation?
Example strategies for entering new businesses : how to list and how to explain and also pfoviding the example strategies for entering new businesses
Determine the size of the sfr section and the gpr section : Write an assembly program to add 10 8-bit numbers saved in the RAM location 1-10H. If the sum causes an overflow, the result should be saved in the memory location 11H otherwise it should be saved in location 12H - Write and assembly code to subtr..
Create your own psychographic/demographic segments : Create your own psychographic/demographic segments
Negative development for the u.s. economy : The Euro has had many problems during the last few years with the sovereign debt crisis in Greece, Italy, Spain, Portugal, and Ireland. Is this a positive or negative development for the U.S. economy? Why?
Increase product revenue over time : From the scenario, analyze the goals, product, price, and promotion for the new product launch in each stage of the product life cycle. Recommend two (2) marketing tactics and strategies that the marketing intern should consider in order to in..
Describe the cells you were able to see in the blood smear : Describe the cells you were able to see in the blood smear

Reviews

Write a Review

Electrical Engineering Questions & Answers

  Draw circuit model of path of current through the human body

Draw a circuit model of the path of current through the human body for a person touching a voltage source with both hands who has both feet at the same potential as the negative terminal of the voltage source.

  A certain mixer is producing frequencies

A certain mixer is producing the following frequencies: 900 kHz, 700 kHz, 500 kHz, and 200 kHz. What are the two most likely input frequencies?

  What is the distance that the person must move further

A person with a receiver is 5 km away from the transmitter .What is the distance that this person must move further to detect a 3dB decrease in signal strength.

  What is the snr that could be tolerated without error

If the data stream is transmitted using a bandwidth of 64 kHz in an ordinary system (without spread spectrum), what is the SNR that could be tolerated without experiencing significant errors

  What is the size of the memory block decoded

An address decoder in a 68000-based microprocessor system selects a memory device when the address lines A23, A22, A21, A20, A19, A18 = 1, 0, 0, 1, 1, 0. What is the size of the memory block decoded and what range of addresses does it span

  Design a decade counter which counts in the sequence

design a decade counter which counts in the sequence: 0000, 0001, 0010, 0011, 0100, 0101, 0110, 0111, 1000, 1001, 0000 draw a complete state diagram for the counter of (b) showing what happens when the counter is started in each of the unused states

  Calculate the break-even volume per year

Eble Company proposes to invest $6 million in a new type of text printing equipment. The fixed costs are $1 million per year. The equipment is expected to last for 5 years. The manufacturing costs per hammer is $1. Calculate the break-even volume ..

  How much does lighting cost the roommate per month

estimate results in the lights being switched on for an average of 19 hours per day - 6 hours more than needed. The room is lit with seven, 60 W incandescent bulbs, which you can assume are powered by a 115 V constant voltage source.

  What will be current flowing in line feeding the four loads

Two machines and a lighting load are connected in parallel to a 220 V, 60 Hz line. The first machine uses 40 kW of power at 0.81 power factor lagging. The second machine uses 27 kVA at 0.93 power factor leading.

  Find the cost of charging the battery for 5-hours

An automobile battery is charged with a constant current of3.75A for5hours. The terminal voltage of the battery isv= 11 + 0.5tVfort> 0, wheretis in hours.(a) Find the energy delivered to the battery during the5hours

  Design bjt differential pair amplifier for differential gain

Design a BJT differential pair amplifier (balanced in, unbalanced out) that provides 20 dB differential gain and 40 dB CMRR. Assume b = 100, ro = 50 KW. Use dual dc power supplies +Vcc and -Vee.

  Make the resistance of the resistor equal to 10 ohms

calculate the capacitance of the capacitor and the inductance of the inductor. for the capacitor it's going to be  1/(j*2*pi*frequency*capacitance) and (j*2*pi*frequency*inductance) for the inductor but what are the valves for the capacitance and ..

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