Write a program in assembly language

Дарина
1

Дарина

no recommendations
no complaints
Contractor selected
Project title: Write a program in assembly language
Type of cooperation: One-time project
Section: Software development
Prepayment: without prepayment
Payment methods: Bank transfer, Electronic money
Acceptance of requests: from until 2024-04-30

Project description:
Programmer services are required. You need to write in assembly language a program that converts a number into code with parity control. I/O ports: A – input, B – output. Stack location: At the end of SRAM.
In this case, the main program should carry out the necessary initialization, input of raw data and output of results through the specified ports of the microcontroller, and the main task should be performed by the subroutine.
Explore the main elements of the ATmega8535 microcontroller structure: CPUs, storage devices, I/O ports - in the process of executing the program. To investigate in detail the structure and functioning of the CPU and the microcontroller stack, varying the initial data, fixing the state of the stack and registers, including the program counter, stack pointer and flag register.
The results of the study are drawn up in the form of a table, as in the example below.
The sequence of rows in the table should correspond to the sequence of execution of commands during the run of the program, and not their sequence in the text of the program. In the line corresponding to this command, the contents of registers and memory must be as it is after it is executed.
In the column "Characteristics of the team" note the impact on flags, size
The number of times required to execute it.
Analyze the results of the study, perform the necessary
Comparisons, conclusions.
Common features of all options:
1. Availability of a subroutine.
2. Input and output through parallel microcontroller ports.
Specific features:
S1. Task performed by the subprogramme.
S2. I/O ports.
S3. Stack location.
External comparisons (Harvard RISC AVR – Princeton CISC x86):
1. Team system.
2. Team size and format.
3. Team execution time.
4. The order of change (program counter) of the command pointer.
5. The order of change of the stack pointer.
6. The order of storing words in memory.
7. Flag register.
Internal comparisons:
1. Availability and use of general purpose and I/O registers.
2. Size and time of execution of commands.

Attached files:
Attached files are available only to Freelancers and the project author
Project author
Дарина