Computer Systems Organization I - Prof. Grishman

Assignment #2

Write an LC-3 program which will compute the quotient of two positive (16-bit) numbers.  It should get the dividend from location x3014 and the divisor from x3015, and store the quotient in x3016.  The program should load starting at x3000.

Enter the program in binary, with a comment on each line describing the instruction.  Also include your name as a comment.  Terminate the program with an infinite loop.

Submit your program (.bin file) by email, as an attachment, to the e-tutor, Ian Lau <>, by one minute before midnight on Thursday, October 7th. (Late assignments will be penalized 1/2 point for each day late, out of a total of 5 points.) Label your email "CSO Asgn 2".

If you have questions or need help, you can