This file is a portion of the original code supplied by Altera.
Various unnecessary or extraneous elements excluded; declarations
in C for external functions are not required because any reference
to external names is embedded directly in an assem
/* template file for Lab 4; copy and modify as appropriate for each part */ /*-*/ /* directives to define symbolic labels for addresses/constants */ .equ INITIAL_STACK_TOP, 0x007FFFFC /* start of stack in RAM */ .equ GREEN_LEDS, 0x10000010 /* LED output p
This file defines macros that utilize the built-in functions
in Altera's adaption of the GCC compiler to generate the
control-register-access instructions for the Nios II processor.
It should be noted
Laboratory 1: Accelerometers
Andrew Bollefer 06264703
Layne Newhouse - 06269272
In this lab we learned how to use an accelerometer to measure the change in acceleration along the x, y
and z spatial dimensions. We were given an ADXL335 acceler