APznzaZ0ic65wTfFBwLVc31ccwKopESBuzBmv9Be04NohP3s8MaDOQ20aZ4xeonMg0u6nDm2ojQ3cb2AEN7T_WFbT9gPZqIrEa5TFZv5pvxPAIbvJyvKJnd4FTJ7ux_hX5aJH6nvp-gdUijrBhTg4ckdTzT67EPOusVFevXBDmaf6tVSAKqzf0zqd5l9ryWJUpmZJ9DlbsrvIglN0ZFIf2KkpkZrCDb70nm.pdf
Document Details
Uploaded by PositiveBowenite8587
Full Transcript
INSTRUCTION SETS CS115 : COMPUTER ARCHITECTURE AND ORGANIZATION YES When we have languages such as C++, Java and ADA available, should we be concerned with machine instruction? Why CPU D I DATA INSTRUCTION Not all CPU have...
INSTRUCTION SETS CS115 : COMPUTER ARCHITECTURE AND ORGANIZATION YES When we have languages such as C++, Java and ADA available, should we be concerned with machine instruction? Why CPU D I DATA INSTRUCTION Not all CPU have the same machine language instruction! CPU 1 CPU 2 01100101 00010100 The instruction set, also called ISA (instruction set architecture), is part of a computer that pertains to programming, which is more or INSTRUCTION less machine language. The instruction set provides commands to the processor, to tell it what it needs to do. The SET instruction set consists of addressing modes, instructions, native data types, registers, memory architecture, interrupt, and exception handling, and external I/O. INSTRUCTION SET ARCHITECTURE INSTRUCTION SET ARCHITECTURE INSTRUCTION SET ARCHITECTURE INSTRUCTION SET ARCHITECTURE INSTRUCTION SET ARCHITECTURE PROCESSOR 1 PROCESSOR 2 TWO TYPES OF INSTRUCTION SET ARCHITECTURE RISC CISC Reduced Instruction Set Architecture Complex Instruction Set Architecture (RISC) – (CISC) – The main idea behind is to make The main idea is that a single instruction hardware simpler by using an instruction will do all loading, evaluating, and storing set composed of a few basic steps for operations just like a multiplication loading, evaluating, and storing command will do stuff like loading data, operations just like a load command will evaluating, and storing it, hence it’s load data, store command will store the complex. data. TWO YPES OF INSTRUCTION SET ARCHITECTURE CISC RISC There will be a single command or Here programmer will write the first load instruction for this like ADD which will command to load data in registers then it perform the task. will use a suitable operator and then it will store the result in the desired location. PROCESSORS LAPTOP MOBILE PHONES DESKTOP EMBEDDED SYSTEM GAMING CONSOLES x86 Processor https://www.geeksforgeeks.org/computer- organization-risc-and-cisc/ https://www.youtube.com/watch?v=FS4Cc fe17QA https://www.youtube.com/watch?v=DJgZi 0Bdp_g REFERENCES https://pdfs.semanticscholar.org/2468/9c e8f330335bb71c7626f173a7dc738ece27.p df https://cseweb.ucsd.edu/classes/sp14/cs e141-a/Slides/01_ISA-Part%20II-annotated- 0429.pdf THANKS