assembly language project

Cerrado Publicado Sep 24, 2003 Pagado a la entrega
Cerrado Pagado a la entrega

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

Assembler Ingeniería MySQL PHP Arquitectura de software Verificación de software

Nº del proyecto: #2979399

Sobre el proyecto

3 propuestas Proyecto remoto Activo May 29, 2004

3 freelancers están ofertando un promedio de $12 por este trabajo

mziconsultinginc

See private message.

$12.75 USD en 3 días
(83 comentarios)
6.3
neelemtechn

See private message.

$17 USD en 3 días
(19 comentarios)
3.6
aoavw

See private message.

$5.1 USD en 3 días
(8 comentarios)
1.8