50 likes | 131 Views
CS 3843 Midterm Two Review. Fall 2013 Prof. Qi Tian. Topics. What to cover? All lectures for Chapter 3 Check the Chapter 3 slides online What is allowed? Scientific calculator One sheet of note (both sides, standard 11’×8.5’ letter size) What is not allowed? Talking to each other
E N D
CS 3843 Midterm Two Review Fall 2013 Prof. QiTian
Topics • What to cover? • All lectures for Chapter 3 • Check the Chapter 3 slides online • What is allowed? • Scientific calculator • One sheet of note (both sides, standard 11’×8.5’ letter size) • What is not allowed? • Talking to each other • Other notes and book materials
Tips • Study • Lecture Slides • Chapter 3 and its practice problems • Assignments 4 and 5 • Sections 3.7.4 and 3.7.5 Procedure Problems • Quiz 3 and 4 • Recitation and practice problems • Solutions are available under • http://www.cs.utsa.edu/~qitian/CS3843/
Sample Problems • Understand all the IA32 assembly instructions, different operands and memory addressing modes; • Examples in Quiz 3 and examples on lecture slides • Understand Assembly Codes and Write Correct Comments • Examples in Chapter 3 lecture slide and Assignment 4 • Quiz 4 • Understand Conditional Codes (ZF, SF, OF, and CF) • Examples in Problem 1 in Assignment 5
Example Problems • Write C codes from the given assembly codes and vice versa; • Examples in Problem 2 and 3 Assignment 5 • Problem 2 in Quiz 4 • Trace the register values in given assembly procedure • Examples in Practice Problem 3.7.4 and Problem 3.7.5 • Identify and correct any mistakes in given assembly instructions • Problem 1 in Quiz 4