Documente Academic
Documente Profesional
Documente Cultură
Topics to discuss…
1
Computer Programming TA C162
BR (PC-Relative)
N -- negative
Z -- zero
P -- positive
2
Computer Programming TA C162
JMP (Register)
Jump is an unconditional branch -- Always taken.
• Target address is the contents of a register.
• Allows any target address.
4
Computer Programming TA C162
5
Computer Programming TA C162
optional mandatory
6
Computer Programming TA C162
Comment
• Anything after a semicolon is a comment Ignored by assembler
• Used by humans to document/understand programs
8
Computer Programming TA C162
LC-3 Assembler
•Takes LC-3 program as input, translate it into the ISA of LC-3
•Pseudo-ops or assembler directive helps in the translating process
9
Computer Programming TA C162
10
Computer Programming TA C162