TAILIEUCHUNG - Lecture Computer organization and assembly language - Lecture 17: Boolean and Comparison Instructions

In this lecture, students will be able to understand: Computer organization, data representation, integer arithmetic, binary representation, 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, addressing modes. | CSC 221 Computer Organization and Assembly Language Lecture 17: Boolean and Comparison Instructions Lecture 16: Review Creating Procedures Documenting Procedures Example: SumOf Procedure CALL and RET Instructions The CALL instruction calls a procedure pushes offset of next instruction on the stack and copies the address of the called procedure into EIP The RET instruction returns from a procedure Lecture 16: Review (cont.) Nested Procedure Calls Local and Global Labels Flowchart Symbols USES Operator Lecture Outline Boolean and Comparison Instructions CPU Status Flags AND Instruction OR Instruction XOR Instruction NOT Instruction Applications TEST Instruction CMP Instruction Status Flags - Review The Zero flag is set when the result of an operation equals zero. The Carry flag is set when an instruction generates a result that is too large (or too small) for the destination operand. The Sign flag is set if the destination operand is negative, and it is clear if the destination operand

Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.