Em Andamento

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)

Habilidades: Montagem, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: 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, activation code program, frame simulator, assemble php, bid simulator, software engineering task bid

Acerca do Empregador:
( 37 comentários ) United States

ID do Projeto: #3011775

Premiar a:

maksyms

See private message.

$15 USD em 4 dias
(3 Avaliações)
5.4

3 freelancers estão ofertando em média $14 para este trabalho

bogdanstan

See private message.

$11.05 USD in 4 dias
(195 Comentários)
5.7
thanasisk

See private message.

$17 USD in 4 dias
(5 Comentários)
0.9