Problem Session 6 for ECE 109 / CSCI 255
Assignment 4 statistics
- 37 submitted assignments
- 3 submitted as MS Word file
- After cut-and-paste from Word, 1 actually assembled
- 2 submitted as .txt file
- 1 submitted as .asm file, but really RTF file
- Did not assemble, after cut-and-paste
- 31 submitted as .asm file and really were
- 29 testable assignments with distributed test
- 8 lost value of
R0
somewhere within program
- 2 had wrong values for characters
- 2 had wrong values for return
- 2 forgot at least one
RET
- 1 had a branch to data location
- 1 had spaghetti code
- 1 infinite loop, due to not saving
R7
- 2 with several
HALT
's, positive numbers for test
- 10 passed the test
Assignment 5
- Assignment description
- Assignment 5 suggestion
- Load the variable from the "frame" with
LDR
- Test type to determine value to add in
- Don't use a subroutine for the multiply
- Store the variable into the "frame" with
STR
- Assemble your program
- Test your program
Running LC-3 editor and simulator
Because it doesn't seem like a lot of debugging is happening,
it might be a good idea to review Problem
Session 5.