COA_PPT sem also all app app so so so so

h45671098 11 views 11 slides Sep 13, 2024
Slide 1
Slide 1 of 11
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11

About This Presentation

Still so so so so em xi zip ask xp


Slide Content

NAME : T.SRAVANTHI ROLL NO : 238R1A12Q9 SUBJECT: COMPUTER ORGANIZATION ARCHITECTURE TOPIC: INSTRUCTION FORMAT CMREC

Introduction to Computer Architecture Computer architecture focuses on the functional behavior of a computer system. It describes how the various components interact and work together to execute instructions.

CMREC REPRESENTATION: ADDRESS – data address is stored. OPCODE – operation code like addition,sub …………..i.e. INDEX – consists of 1’s and 0’s.

Instruction Formats 1 Opcode The opcode (operation code) specifies the operation to be performed, such as addition, subtraction, or data transfer. 2 Operands Operands are the data values on which the operation is performed. They can be registers, memory addresses, or immediate values. 3 Addressing Mode The addressing mode determines how the operands are accessed. Different addressing modes provide flexibility in accessing data. CMREC

Instruction Representation Binary Instructions are represented in binary format, which is the language understood by the computer's hardware. Assembly Language Assembly language uses likes letters to represent instructions, making them more readable for humans. It is then translated to binary by an assembler. High-Level Language High-level languages are closer to human language and are translated to binary by a compiler. They offer a higher level of abstraction. CMREC

Instruction Fetch and Decode Fetch The instruction is fetched from memory and placed into the instruction register. Decode The instruction is decoded to determine the operation and operands. Execute The operation specified by the instruction is executed. CMREC

Instruction Execution 1 ALU Operations The arithmetic and logic unit (ALU) performs arithmetic and logical operations on data. 2 Data Transfer Data is transferred between registers, memory, and the ALU. 3 Control Flow The instruction execution can change the program's control flow, such as branching and jumping. CMREC

CMREC INSTRUCTIONS: A sequence of instructions(Machine). Instruction a group of bits that tell the computer to perform a specific operation. The instructions of a program, along with any needed data are stored in memory. The CPU reads the next instruction from memory. It is placed in an Instruction Register (IR).

Addressing Modes Addressing Mode Description Immediate The operand is directly embedded in the instruction. Register The operand is stored in a register. Direct The operand is located at a specific memory address. Indirect The instruction contains the address of a memory location that holds the actual address of the operand. CMREC

Conclusion and Summary Computer architecture is a fundamental aspect of computer systems. Understanding instruction formats, execution, and performance optimization is crucial for designing efficient and powerful computing systems.

CMREC
Tags