School of computer science

Georgia Institute of Technology

CS4803DGC, Spring 2010
Programming Assignment #6
Due: Friday, April 2, 12:00 pm (before the class)
Hyesoon Kim, Instructor

Introduction
Although two students are sharing a hardware, this is an individual assignment. Each student needs to submit their code into the T-square.
The demo should be done individually.
In this assignment, you will learn how to read keyboards and assembly code.


Assignment In this assignment you are building a simple counter using Nintendo DS Assembly programming with NDS library.
Your counter starts from zero and when the following keys are pressed, you increment/decrement the counter value based.
A: +1
B: -1
start: reset to zero
Up: +10
Down: -10

Extra credit (+1 points) Left: left shift by #1
Right: right shift by #1

Your screen needs to be updated every 1/60th seconds and the screen should says
"A simple counter from your name, counter value "
Please see the lecture notes (lec_arm_prog1.pptx) file to get some initial starting code.


Grading
You demo your screen and then submit the code in the T-square.
The demo will be during the classroom.


Useful links
ARM GCC Iline Assembler Cookbook