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
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]
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...
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...
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.
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
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.
Programming Activity 1(Python) Utilise a count-based iteration structure that will accepts the data listed below and...
Programming Activity 1(Python) Utilise a count-based iteration structure that will accepts the data listed below and produce the total purchase amount. Your final report should be similar to the one show below. Input Data: Item Description Item Price Salomon Fish $ 26.97 Ribeye Steak $ 12.98 Sweet Corn $ 4.96 Asparagus $5.92 Output: Item Description Item Price ================================= Salomon Fish. $26.97 Ribeye Steak $ 12.98 Sweet Corn $ 4.96 Asparagus $ 5.92 Your total purchase: $ xx.xx I already posted...
Auditing Assignment Three Chapter Ten This assignment consists of one question with two parts listed below....
Auditing Assignment Three Chapter Ten This assignment consists of one question with two parts listed below. Answer the questions and submit to the drop box on the assigned date. Your paper should be double spaced and at minimum two pages long. You may use any format for the answer, however, when appropriate, the Conclusion, Rule, Application, Conclusion format is preferable for clarity and better understanding. Question Bank confirmations There are two parts in a standard bank confirmation. Discuss the purposes...
An assembly line consists of three workstations (WS) with each station's activity time as shown. WS1...
An assembly line consists of three workstations (WS) with each station's activity time as shown. WS1 5 minutes ---------- WS2 3 Minutes --------------- WS3 4 Minutes When fully operational this line could assemble _______ completed items every 60 minutes. Select one: A. 12 B. 20 C. 15 D. 5
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT