Assignment 3 for CSCI 255

Due date

This assignment must be submitted as a single file named yourlastname.asm for Assignment 3 of the CSCI 255 section on UNCA moodle by 11:00 PM on Wednesday, 21 October.

The due date for Assignment 3 really is before the due date for Assignment 2.

The task

Write a program in LC-3 assembler language that is loaded a memory location x3000; reads the value stored in memory location x4000; and stores 1 in memory location x4001, if the value loaded from x4000 represents an ASCII digit, and stores 0 otherwise.

In ASCII, digits are encoded from x30 to x39.


This isn't a hard program, but you better not wait until 20 October to start it.