Question

In assembly programming This assignment consists of three total programming problems 1) Count To 10 in...

In assembly programming

This assignment consists of three total programming problems

1) Count To 10 in LMC

1) Count To 10 in RISC

2) find_max in x64

Homework Answers

Answer #1

1(:---

loop LDA value1
OUT
SUB value2
STA value1
BRP loop

value1 DAT 10
value2 DAT 1

2:------

addi    sp, sp, -8
sd      ra, 0(sp)
call    printf
ld      ra, 0(sp)
addi    sp, sp, 8
ret

3:----Right click inside the Application This PC and select properties check system type if it 64 bit OS then x64 program will run and if 32 bit OS then x86 based program will run.

For x64 (64-bit) upto 4 logical processors max worker threads = 512
For x64 (64-bit) more than 4 logical processors max worker threads = 512+ ((# Procs – 4) * 16)

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
COSC 1436 Programming Assignment 2 Programming Assignment 2 Refactoring is the process of taking existing code...
COSC 1436 Programming Assignment 2 Programming Assignment 2 Refactoring is the process of taking existing code and improving its design without changing the functionality. In this programming assignment, you are going to take your code from Programming Assignment 1 and refactor it so that it uses functions. The program should still do the following:  Get the name of a student  Get the name of three assignments  Get the grade of three assignments as integers  Calculates the...
An assembly consists of three mechanical com- ponents. Suppose that the probabilities that the first, second,...
An assembly consists of three mechanical com- ponents. Suppose that the probabilities that the first, second, and third components meet specifications are 0.95, 0.98, and 0.99, respectively. Assume that the components are independent. Determine the probability mass function of the number of com- ponents in the assembly that meet specifications.
C Programming. Do not use a function in the solution. Assignment 6 This assignment focuses on...
C Programming. Do not use a function in the solution. Assignment 6 This assignment focuses on using arrays. Instructions Create a program called arrays.c that does the following: 1. Prompt the user for a string (<= 100 characters). (using the attached file: AS06Data.txt) AS06Data.txt file contains the text " Instructions: When your executing program displays "Enter string 1:" starting with T, select the line of text below, copy with ctrl-c, then type ctrl-v THIS IS a test of string 0123456789...
FOR C PROGRAMMING LANGUAGE Which of the three C programming language functions are likely to cause...
FOR C PROGRAMMING LANGUAGE Which of the three C programming language functions are likely to cause problems in a program that calls them? For those causing problems, briefly explain why. int* f1(void) { int y = 10; return (&y); } int* f2(void) { int* ptr; *ptr = 10; return ptr; } int* f3(void) { int *ptr; ptr = (int *) malloc (sizeof(int)); *ptr = 10; return ptr; } f1: [explanation goes here] f2: [explanation goes here] f3: [explanation goes here]
Part B: Planning problems using Excel Mortgage payments : ( 10 % of this assignment) Loan...
Part B: Planning problems using Excel Mortgage payments : ( 10 % of this assignment) Loan amount : $200,000 Interest rate (annual): 4.00 % Term : 30 years Calculate monthly payments: ( Hint : Rate and number of periods should be adjusted for monthly) Total interest amount over the life of the loan In reference to (1, above). ( 10 % of this assignment) Calculate PMT ( Monthly payments) if you want to pay of the above loan in 20...
C++ PROGRAMMING Assignment: For this assignment, you will construct a program which is capable of taking...
C++ PROGRAMMING Assignment: For this assignment, you will construct a program which is capable of taking a user-given number, and adding up all of the numbers between 1 and the given number. So if someone inputs 12, it should add 1 + 2 + 3 + 4 + … 9 + 10 + 11 + 12, and return the answer. However, you’ll be using two different methods to do this. The first method should utilize either a for loop or...
4n assembly consists of three mechanical components. Suppose that the probabilities that the first, second, and...
4n assembly consists of three mechanical components. Suppose that the probabilities that the first, second, and third components meet specifications are 040, 0.45 and 0.8 respectively. Assume that the components are independent. Let random variable X be the number of components that meet specifications; Determine the mean, variance and the standard deviation of X.
Tax Assignment Three Chapter 06: Deductions and Losses: In General This assignment consists of three questions...
Tax Assignment Three Chapter 06: Deductions and Losses: In General This assignment consists of three questions listed below. Answer the questions and submit your assignment to the drop box on the designated date. Your paper should be double spaced and at minimum two pages long. You may use any format for the answer, however, the Conclusion, Rule, Application, Conclusion format is preferable for clarity and better understanding. - The stock of Eagle, Inc. is owned as follows: Tom 23%
Tom’s...
1. Open “Atmel Studio” and write an assembly program to count up from 0 to 9...
1. Open “Atmel Studio” and write an assembly program to count up from 0 to 9 and show the result on a CC seven segment.
Show both the network and the linear programming formulation for this assignment problem. ​ Task Person...
Show both the network and the linear programming formulation for this assignment problem. ​ Task Person A B C D 1 9 5 4 2 2 12 6 3 5 3 11 6 5 7
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT