Ask Question, Ask an Expert

+1-415-315-9853

info@mywordsolution.com

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.

ACTIVITY 2:

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.

ACTIVITY 3:

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.

ACTIVITY 4:

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

Assembly language labfibonacci numbers are integers 0 1 1 2

Assembly Language Lab Fibonacci numbers are integers 0, 1, 1, 2, 3, 5, 8, 13, 21 ... If function fib(n) represents the nth Fibonacci number, we have fib(n) = fib(n-1) + fib(n-2) for n > 2, and fib(1) = 0, fib(2) = 1. The ...

Binary is a numer system used by computers it consists of

Binary is a numer system used by computers. It consists of only two digits, 0 and 1, which represent off and on. In decimal numbers, there are ten digits, 0, 1, 2, 3, 4, 5, 6, 7, 8, and 9. When you write 247 in decimal, ...

Assembly languagelab assignmentin this lab we will write an

Assembly Language Lab Assignment In this lab we will write an assembly program to implement a Finite State Machine (FSM) that recognizes hexadecimal integer constant that conforms to MASM syntax. The hexadecimal constant ...

Project marie start code at bottom of Project MARIE Start code at bottom of document 1.

Project MARIE Start code at bottom of document 1. Introduction The objective of this project is to reinforce your understanding of computer organization, instruction set architectures, and assembly language. You will acc ...

Questions statementyou have to write a subroutine assembly

Questions Statement You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multip ...

Questions statementyou have to write a subroutine assembly

Questions Statement You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multip ...

Problemyou have to write a subroutine assembly language

Problem: You have to write a subroutine (assembly language code using NASM) for the following equation. DX= (AX 2 + (AX-1) + 2*(AX+2))/2 Note: You cannot use MUL or DIV instructions, you have to perform multiplication an ...

  • 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

Section onea in an atwood machine suppose two objects of

SECTION ONE (a) In an Atwood Machine, suppose two objects of unequal mass are hung vertically over a frictionless

Part 1you work in hr for a company that operates a factory

Part 1: You work in HR for a company that operates a factory manufacturing fiberglass. There are several hundred empl

Details on advanced accounting paperthis paper is intended

DETAILS ON ADVANCED ACCOUNTING PAPER This paper is intended for students to apply the theoretical knowledge around ac

Create a provider database and related reports and queries

Create a provider database and related reports and queries to capture contact information for potential PC component pro

Describe what you learned about the impact of economic

Describe what you learned about the impact of economic, social, and demographic trends affecting the US labor environmen