Suoritettu

byteSwap

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 [url removed, login to view]

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 [url removed, login to view] .

5) Notice that in the program [url removed, login to view] 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)

Taidot: Assembly, tekniikka, MySQL, PHP, tietojärjestelmäarkkitehtuuri, Ohjelmistojen testaus

Näytä lisää: study algorithm, comprise software, algorithm study, asm, convert algorithm program, php function algorithm, program using pointer, grizal, convert algorithm php source code, source code php simulator, windows activation code, simulator software, source offsets, activation function, algorithm read code, windows activation, read assembly code, convert assembly, convert assembly code, code read algorithm

Tietoa työnantajasta:
( 37 arvostelua ) United States

Projektin tunnus: #3011775

Myönnetty käyttäjälle:

maksyms

See private message.

$15 USD 4 päivässä
(3 Arvostelua)
5.4

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön

bogdanstan

See private message.

$11.05 USD 4 päivässä
(195 arvostelua)
5.7
thanasisk

See private message.

$17 USD 4 päivässä
(5 arvostelua)
0.9