Find Jobs
Hire Freelancers

Assembly Language LC-3 Project

$10-30 USD

Completed
Posted over 5 years ago

$10-30 USD

Paid on delivery
Specifics: ?? Your task is to, first, determine if the value store in memory location x3030 is even or odd. You are to store x0001 in memory location x3031 if it is odd, x0000 if it is even. ?? Next, your program will count the number of 1s in the value at memory location x3030 and store that count in memory location x3032. ?? Your program can use the LC-3 register file and memory address space. You cannot overwrite the original value in memory location x3030. ?? Your code must be well-commented. Follow the commenting style of the code examples provided in class and in the textbook. ?? Your program must be written in LC-3 Machine Language and originate at x3000. Example: The following is a snapshot of memory locations x3030 through x3032 after the calculations described above have been performed. The value at x3030 in an input and the values in x3031 and x3032 are outputs. Testing: You should test your program thoroughly before handing in your final version. Developing a good testing methodology is essential for being a good programmer. For this assignment, you should run your program several times for different values in memory location x3030 (you can do this using the simulator) and checking the output by hand. Tools: You will need to use the LC-3 simulator (either on Unix or on Windows, whichever you prefer) in order to execute and test the program you write for this MP. You might also need to use a text editor (vi, emacs, pico, etc) in order to enter your machine language program. Please take a look screenshot attached for more info.
Project ID: 18079351

About the project

3 proposals
Remote project
Active 6 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
hi, I'm Ganapathy, I have written lots of assembly programs in MIPS, ARM, AVR, 8051, Intel, etc, I can help you finish this project in no time, for more information Contact me Thank you
$23 USD in 1 day
4.9 (33 reviews)
4.7
4.7
3 freelancers are bidding on average $32 USD for this job
User Avatar
.ORIG x3000 LEA R0, x2F LDR R1, R0, x0 AND R2, R1, x1 STR R2, R0, x1 LD R3, zero LD R4, one L2 AND R2, R1, R4 BRz L3 ADD R3, R3, x1 L3 ADD R4, R4, R4 BRnp L2 STR R3, R0, x2 HALT zero .FILL x0 one .FILL x1 .END
$23 USD in 1 day
4.6 (2 reviews)
2.1
2.1

About the client

Flag of UNITED STATES
Piscataway, United States
5.0
2
Payment method verified
Member since Mar 27, 2018

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.