Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Assignment: First, create a flowchart that will perform the following behavior. Then implement the flowchart with OTTER MCU assembly language using only the instructions in
Assignment: First, create a flowchart that will perform the following behavior. Then implement the flowchart with OTTER MCU assembly language using only the instructions in the OTTER assembly manual. Use register alternative names (ie s0, t0) instead of register numbers (ie 5,10 ). Make sure your code is formatted properly including comments. Use the RARS simulator to ensure the program performs as desired. 1. Using - data, define an array in the data segment that contains the first 25 values of the Fibonacci sequence (starting with 0 and ending with 46368 ). Write a program that progresses through the array and calculates the difference between values that are 3 spots away from each other. For example, the first value ( 0 ) and the 4 th value ( 2 ) is a difference of 2 . The next calculation would be between the 2nd (1) and 5th (3) values. When no item exists 3 spots away, no difference can be calculated. Each difference should be output to LEDS (address 0x11000020)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started