Ask Question, Ask an Expert


Ask Assembly Expert

Activity 1

prepare a program to transfer a string of data from program memory starting at address $200 to RAM locations inside CPU starting at $140. The data representing your last name and first name is as shown below:

MYDATA: .DB "firstnameLastname", 0 Using the simulator, single-step through program and examine data transfer and registers.


Add following subroutine to a program in Activity 1, single-step through subroutine and examine RAM locations:

Subroutine:  After data has been transferred from program memory into RAM, the subroutine must copy data from RAM locations starting at $140 to RAM locations starting at $160.


prepare the program to compute y where y = x^2 + 2x + 9. x is between 0 and 9 and look-up table for x2 is located at the address (program memory) of $200. Register R20 has the x, and at the end of the program R21 must have y. Use simulator to change the x value and single-step through the program, examining the registers as you go.


Connect the Switch to the pin on one of the PORTs and the LED to another pin. prepare and test the program with the following components:

a) The LED toggles when switch is pressed.

b) Store last state of the LED in EEPROM so that, if microcontroller powers off, it restores its last state when it powers on, again.

Assembly, Programming

  • Category:- Assembly
  • Reference No.:- M91862
  • Price:- $35

Guranteed 24 Hours Delivery, In Price:- $35

Have any Question? 

Related Questions in Assembly

1write build and run an assembly language program that

1. Write, build, and run an assembly language program that displays 0 through 9 on the screen. You can only use the following data segment: message BYTE "0",13,10,0 2. Write an Assembly Language program that will write o ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

A cola-dispensing machine is set to dispense 9 ounces of

A cola-dispensing machine is set to dispense 9 ounces of cola per cup, with a standard deviation of 1.0 ounce. The manuf

What is marketingbullwhat is marketing think back to your

What is Marketing? • "What is marketing"? Think back to your impressions before you started this class versus how you

Question -your client david smith runs a small it

QUESTION - Your client, David Smith runs a small IT consulting business specialising in computer software and techno

Inspection of a random sample of 22 aircraft showed that 15

Inspection of a random sample of 22 aircraft showed that 15 needed repairs to fix a wiring problem that might compromise

Effective hrmquestionhow can an effective hrm system help

Effective HRM Question How can an effective HRM system help facilitate the achievement of an organization's strate