Encerrado

assembly language project

Objective of this assignmentThis is the first project written in assembly language. It will reinforce your understanding of addressing modes, storage directives, and the algorithms for converting between binary and ascii representations of integers.

Read the specifications carefully and be sure you understand them completely before you start writing the program.

I have provided a source file source file on the server containing code for two functions - charin and charout. charin reads one character from standard input and places it in the al register. charout writes to standard output the character currently in the al register.

The program should do the following:

* Prompt for the user to enter an 8 bit binary number.

* Read the user's input, storing it in a 8 character array for which storage was declared in the data section (call this xstring).

* Convert the characters that the user input to a 1-byte integer for which storage was declared in the data section (call this x).

* Convert the integer above to another 1-byte integer (call this y), for which storage was declared in the data section. This second integer has its bits in the reverse order from the one input by the user.

* Display x.

* Display the integer with the reversed bit sequence.

* Display the sum of x and y

* Display the bitwise AND of x and y

* Display the number of 1 bits in x

For example:

x> **11001011

**x = 11001011

y = 11010011

x+y=11011110

x&y=11000011

x has 5 1-bits.

All prompts (e.g. "x> ") and all strings for display (e.g. the "x+y=") should be stored in the data section.

Normally the program would involve the use of several loops with fixed count. Since we will not have covered the assembly language syntax for looping by the time you work on the program, instead of loops simply repeat the code that would have been the body of the loop. The files you submit should include main.s, io.s, and a makefile.

## 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.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

running on Windows xp in codewarrior

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

Ver mais: writing modes, writing in standard form, writing algorithms, use of binary, use of algorithms, understanding algorithms, sum binary, strings for c standard, server assembly, prompts for writing, number algorithms, modes of writing, integers form 1, example of algorithms, covered call writing, count bits in a byte, count bits, count all the bits that are on in a byte, convert php to objective c, character writing prompts, c# assembly, bit bits, bit binary, binary explained, binary code explained simply

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

ID do Projeto: #2979399

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

mziconsultinginc

See private message.

$12.75 USD in 3 dias
(83 Comentários)
6.3
neelemtechn

See private message.

$17 USD in 3 dias
(19 Comentários)
3.6
aoavw

See private message.

$5.1 USD in 3 dias
(8 Comentários)
1.8