EE 306 - Programming Assignment 2

EE 306 - Programming Assignment 2 - Department of...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Department of Electrical and Computer Engineering The University of Texas at Austin EE 306, Fall 2007 Programming Assignment 2 Due: November 14 th , 11:59 pm Anthony Ambler, Instructor You can do the programming assignment by yourself or in groups of not more than 3 people. Instructions on how to submit the assignment will be provided later. Sort an array of 16 characters in alphabetical order. In this assignment, you are asked to write a program in LC-3 assembly language to sort an array of 16 characters (stored in memory) in alphabetical order. Your program should assume that the first character of the array is stored in memory location x30F0 and the last character of the array is stored in memory location x30FF . Each memory location contains a single ASCII character. Your program should sort the array of characters in alphabetical order and store the sorted result back in memory locations x30F0 through x30FF . You may assume that the characters in the array will all be lowercase letters. Your program should start at memory location
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 03/22/2008 for the course EE 306 taught by Professor Ambler during the Fall '07 term at University of Texas.

Page1 / 3

EE 306 - Programming Assignment 2 - Department of...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online