You are on page 1of 1

Lab 0: Adding numbers with LC3Edit and Simulate.

微算機原理及應用實習 2017/9/11~15
Name: Student Id: Class: Group Id:

 Task 1: Write an LC-3 program to add from 1 to 5 without using any branch (BR)
instructions and store the sum into a memory location called RESULT.
 Checkpoint 1: TA checks the program in LC3Edit; one student shows how to
step the program in Simulate and explains the changes in a register or
memory word at each step.
 Checkpoint 2: Each student writes down the program with comments, a
flowchart, and the values of all registers and all used memory locations
before and after the execution of the program.
 Checkpoint 3: Each student writes down his problems and how he solved
his problems (學習心得).
 Task 2: Write an LC-3 program to add from 11 to 15 using branch (BR)
instructions and store the sum into a memory location called RESULT.
 Checkpoint 1: TA checks the program in LC3Edit; one student shows how to
step the program in Simulate and explains the changes in a register or
memory word at each step.
 Checkpoint 2: Each student writes down the program with comments, a
flowchart, and the values of all registers and all used memory locations
before and after the execution of the program.
 Checkpoint 3: Each student writes down his problems and how he solved
his problems (學習心得).

You might also like