Home Work 2: Dead Line March 10 - 8 Am Both Questions Are To Be Attempted
Homework 2 is due on March 10 by 8 am. It contains two questions - write a program in ALP for the LPC23XX microcontroller to read and sort 10 signed 32-bit numbers from read-only memory into ascending order in read-write memory, exploring conditional execution and load/store multiple instructions. The second question is to program an LPC2378 to count objects passing a point within 1 minute and find the time between the first two objects using a light source and detector that outputs a high-to-low voltage signal when an object passes.
Home Work 2: Dead Line March 10 - 8 Am Both Questions Are To Be Attempted
Homework 2 is due on March 10 by 8 am. It contains two questions - write a program in ALP for the LPC23XX microcontroller to read and sort 10 signed 32-bit numbers from read-only memory into ascending order in read-write memory, exploring conditional execution and load/store multiple instructions. The second question is to program an LPC2378 to count objects passing a point within 1 minute and find the time between the first two objects using a light source and detector that outputs a high-to-low voltage signal when an object passes.
1. Write an ALP program (for LPC23XX) which reads a set of 10, signed 32 bit numbers (present in read only memory) and place the numbers in ascending order in R/W memory.[Explore the use of conditional execution , Load/store Multiple instructions etc ]
2. Program LPC2378 to count the number of objects crossing a particular point within a period of 1 minute. Also find the time interval between the first and the second object passing the point. You can use assume that the system is provided with a light source and light detector. They are arranged in such a way that when an object crosses a High to Low voltage signal is available at the output of detector .(Coding can be done in Embedded C).