Lecture 15 Objectives
At the end of today's class you should
KNOW:
- The LC-3 assembly language instruction formats and pseudo-ops
- What happens during the two passes of the assembly process
BE ABLE TO:
- Write compound Boolean expressions in LC-3 assembly language
- Fix assembly language programs that contain addressing errors
- Explain the operation of a two-pass assembler
Sample Exam Question:
Translate the following high-level language pseudo-code into LC-3
assembly language code.
while (R3 < R4) and (R5 != 0)
increment R3
increment R5
endwhile