Find Jobs
Hire Freelancers

byteSwap

$30-5000 USD

Completed
Posted over 20 years ago

$30-5000 USD

Paid on delivery
The task is to write a function ByteSwap which exchanges the values of the two bytes that comprise an LC3word. Thus ByteSwap(x1234)==x3412, ByteSwap(xABCD)==xCDAB, etc. Moreover, this function is to use the c calling conventions as described in the file t_ByteSwap.asm. Specifically, 1)read through [login to view URL] 2) Download pa3.c, compile it and run it. 3) Study the code for the c function ByteSwap() 4) Convert the algorithm to LC3 assembly. The argument and the local variables are accessed by offsets from the frame pointer R5 as shown in [login to view URL] . 5) Notice that in the program [login to view URL] the activation record mechanism you need is ALREADY in place. You need only ADD your code and data at the places indicated. 6) Assemble pa3 with your code added until there are no syntax errors. 7) Run pa3 with the simulator until it gives correct results. ## Deliverables 1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request. ## Platform Windows xp, using lc3 assembler(provided in attached files)
Project ID: 3011775

About the project

3 proposals
Remote project
Active 20 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
See private message.
$15 USD in 4 days
5.0 (3 reviews)
5.4
5.4
3 freelancers are bidding on average $14 USD for this job
User Avatar
See private message.
$11.05 USD in 4 days
4.9 (195 reviews)
5.7
5.7
User Avatar
See private message.
$17 USD in 4 days
4.8 (5 reviews)
0.9
0.9

About the client

Flag of UNITED STATES
United States
4.8
37
Member since Nov 10, 2003

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.