Question: Pseudo-code is a programming-like language that assists in program design, but is simpler or not as well defined as a programming language. Pseudo-code will be

 Pseudo-code is a programming-like language that assists in program design, but
is simpler or not as well defined as a programming language. Pseudo-code

Pseudo-code is a programming-like language that assists in program design, but is simpler or not as well defined as a programming language. Pseudo-code will be used throughout CSC 230 and will appear similar to statements in the C, Python or Java programming languages. It will be used to both define algorithms and serve as documentation throughout assembly language code. Consider the following pseudo-code 'program': numberl = 103; number2 = 41; number3 = 15; diff = numberl; diff -= number2; diff -= number3; result = diff; Essentially, this program' calculates the difference of 3 constant values, numberl - number2 - number 3, stores the result in memory location called result. In Assignment 2 Part 1, this pseudo-code will be: Translated into AVR assembly language, Tested on the AVR studio simulator First, recall that the AVR microcontroller uses the Harvard architecture: Code Segment AVR Microcontroller Data Segment ******************************************************* ; * Program information goes here. ; * Examples include: Course name, assignment number, program name, program description, program input, program output, programmer name, creation date, dates of program updates. ; * Code segment follows: .cseg ; Your code starts here: ; Your code finishes her done: jmp done ; * Data segment fol .dseg .org 0x200 Directions this will ine theme of the AVR instruction Set reference document. Pseudo-code is a programming-like language that assists in program design, but is simpler or not as well defined as a programming language. Pseudo-code will be used throughout CSC 230 and will appear similar to statements in the C, Python or Java programming languages. It will be used to both define algorithms and serve as documentation throughout assembly language code. Consider the following pseudo-code 'program': numberl = 103; number2 = 41; number3 = 15; diff = numberl; diff -= number2; diff -= number3; result = diff; Essentially, this program' calculates the difference of 3 constant values, numberl - number2 - number 3, stores the result in memory location called result. In Assignment 2 Part 1, this pseudo-code will be: Translated into AVR assembly language, Tested on the AVR studio simulator First, recall that the AVR microcontroller uses the Harvard architecture: Code Segment AVR Microcontroller Data Segment ******************************************************* ; * Program information goes here. ; * Examples include: Course name, assignment number, program name, program description, program input, program output, programmer name, creation date, dates of program updates. ; * Code segment follows: .cseg ; Your code starts here: ; Your code finishes her done: jmp done ; * Data segment fol .dseg .org 0x200 Directions this will ine theme of the AVR instruction Set reference document

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!