CSC 230 Midterm: CSC 230 UVic Csc 230 Midterm Oct 2000
Document Summary
In 2"s complement addition, overflow can only occur when adding two negative numbers: single bit parity allows for the detection and correction of single bit errors. _______________________________________________________________________: [3 marks] how many fetch operations does the 6811 have to perform as it executes each of the following instructions, ldaa # _______________, ldaa _______________, ldaa , x ________________ Mid term fall 2000: [10 marks] consider the following program: ; arithemtic shift left of acc b: [1 mark] circle the correct value that is stored in q upon reaching the stop instruction. 2*6: [6 marks] show the listing file (. lst) generated by the assembler. ______________________________________________________________: [3 marks] show the symbol table generated by the assembler for this program. ______________________________________________________________: [10 marks] perform each of the following operations using 8 bit 2"s complement numbers and show the condition code flag settings that will result. As shown all operations are to be done as additions.