tailieunhanh - Lecture Computer organization and assembly language - Lecture 23: Arithmetic Instructions in Assembly

In this lecture, students will be able to understand: Floating point representation, machine instruction characteristics, instruction cycles, types of operands, pentium and power PC data types, microporessor bus structure, address, data, control buses and registers, memory organization and structure | CSC 221 Computer Organization and Assembly Language Lecture 23: Arithmetic Instructions in Assembly Lecture 22: Review Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications Lecture 22: Review Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont ) Let’s Enjoy Assembly Summary Assembly Implementation of: Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications 8 Summary Assembly Implementation of: Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont.) 9 Reference Most of the Slides are taken from Presentation: Chapter 7 Assembly . | CSC 221 Computer Organization and Assembly Language Lecture 23: Arithmetic Instructions in Assembly Lecture 22: Review Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications Lecture 22: Review Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont ) Let’s Enjoy Assembly Summary Assembly Implementation of: Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications 8 Summary Assembly Implementation of: Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont.) 9 Reference Most of the Slides are taken from Presentation: Chapter 7 Assembly Language for Intel-Based Computers, 4th Edition Kip R. Irvine (c) Pearson Education, 2002. All rights reserved. You may modify and copy this slide show for your personal use, or for use in the classroom, as long as this copyright statement, the author's name, and the title are not . | CSC 221 Computer Organization and Assembly Language Lecture 23: Arithmetic Instructions in Assembly Lecture 22: Review Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications Lecture 22: Review Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont ) Let’s Enjoy Assembly Summary Assembly Implementation of: Shift and Rotate Instructions Logical Shifts and Arithmetic Shifts SHL and SHR Instruction SAL and SAR Instructions ROL and ROR Instruction RCL and RCR Instructions SHLD/SHRD Instructions Shift and Rotate Applications 8 Summary Assembly Implementation of: Multiplication and Division Instructions MUL Instruction IMUL Instruction DIV Instruction Signed Integer Division (cont.) 9 Reference Most of the Slides are taken from Presentation: Chapter 7 Assembly Language for Intel-Based Computers, 4th Edition Kip R. Irvine (c) Pearson Education, 2002. All rights reserved. You may modify and copy this slide show for your personal use, or for use in the classroom, as long as this copyright statement, the author's name, and the title are not changed.