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

  Lithium ion battery technology

The paper includes Lithium ion battery technology with its advantages and disadvantages. The paper discusses about the Lithium air battery in which detailed reactions of Lithium with air including nonaqueous as well as aqueous are given.

  Power transformers and tariffs

Construction of different types of power transformer, significant energy savings

  Paper on orthogonal frequency-division multiplexing

This document is shown a paper on Orthogonal frequency-division multiplexing with advantages, disadvantages and uses.

  Function of the hmi in a scada system

This assignment contains electronics engineering questions like State the commonly found components of a SCADA (Supervisory control and data acquisition) system. and decribe the function of the HMI in a SCADA system.

  Resultant waveform of the odd harmonic series

Prepare an Excel graph showing the individual components and summated resultant waveform of the odd harmonic series resulting in an approximate square wave.

  Explain scada system

Explain the function of the HMI in a SCADA system.

  Design a 2-digit 24 second shot-clock

Design a 2-digit 24 second "shot-clock" countdown timer with pushbutton controller.

  Model a discrete-time system

To understand di erent signal models To be able to model a discrete-time system and design simple signal processing algorithms.

  Draw a relay construction diagram

Draw a relay construction diagram and briefly explain the operation of a relay.

  Frequency division multiplexing

Write a short technical report on Frequency Division Multiplexing

  Impact of electron energy

Briefly discuss the impact of electron energy, electron current and target on the Bremsstrahlung generated.

  Traffic light controller

The schematic of the traffic light controller

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