SlideShare une entreprise Scribd logo
1  sur  41
Computer Organization UNIT 3 Prepared By Prof. Rakesh Roshan [email_address] Prof.  RAKESH ROSHAN 09971640291 By RAKESH ROSHAN 9971640291
CENTRAL  PROCESSING  UNIT ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
MAJOR  COMPONENTS  OF  CPU Introduction  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291 Register File ALU Control Unit
REGISTERS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
GENERAL  REGISTER  ORGANIZATION General Register Organization By RAKESH ROSHAN 9971640291 MUX SELA { MUX } SELB ALU OPR R1 R2 R3 R4 R5 R6 R7 Input 3 x 8 decoder SELD Load (7 lines) Output A bus B bus Clock
OPERATION  OF  CONTROL  UNIT The control unit  Directs the information flow through ALU by  - Selecting various  Components   in the system - Selecting the  Function   of ALU Example:  R1    R2 + R3 [1] MUX A selector (SELA):  BUS A    R2 [2] MUX B selector (SELB):  BUS B    R3 [3] ALU operation selector (OPR): ALU to ADD [4] Decoder destination selector (SELD): R1    Out Bus Control Word Encoding of register selection fields Control  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291 SELA SELB SELD OPR 3 3 3 5
ALU  CONTROL Encoding of ALU operations OPR Select Operation Symbol 0000 Transfer A TSFA 0001 Increment A INCA 0010 ADD A + B ADD 0011 Subtract A - B SUB 0100  Decrement A DECA 0101 AND A and B AND 0110 OR A and B OR 0111 XOR A and B XOR 1000 Complement A COMA 1001 Shift right A SHRA 1010 Shift left A SHLA Examples of ALU Microoperations   Symbolic Designation Microoperation SELA SELB SELD OPR   Control Word Control  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
REGISTER  STACK  ORGANIZATION Register Stack Push, Pop operations /*  Initially, SP = 0, EMPTY = 1, FULL = 0  */ PUSH POP Stack Organization ,[object Object],[object Object],[object Object],[object Object],Stack - Very useful feature for nested subroutines, nested interrupt services - Also efficient for arithmetic expression evaluation - Storage which can be accessed in LIFO - Pointer:  SP - Only PUSH and POP operations are applicable A B C 0 1 2 3 4 63 Address FULL EMPTY SP DR Flags Stack pointer stack 6 bits By RAKESH ROSHAN 9971640291
MEMORY  STACK  ORGANIZATION Stack Organization ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Memory with Program, Data,  and Stack Segments Data (operands) Program (instructions) PC AR SP stack - Most computers do not provide hardware to check stack overflow (full  stack) or underflow (empty stack)    must be done in software By RAKESH ROSHAN 9971640291
REVERSE  POLISH  NOTATION A + B Infix notation + A B Prefix or Polish notation A B + Postfix or reverse Polish notation - The reverse Polish notation is very suitable for stack  manipulation ,[object Object],Any arithmetic expression can be expressed in parenthesis-free  Polish notation, including reverse Polish notation (3 * 4) + (5 * 6)     3 4 * 5 6 * + Stack Organization ,[object Object],3 3 12 12 12 12 42 4 5 5 6 30 3 4 * 5 6 * + By RAKESH ROSHAN 9971640291
PROCESSOR ORGANIZATION ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
INSTRUCTION  FORMAT OP-code field - specifies the operation to be performed Address field - designates memory address(es) or a processor register(s) Mode field  - determines how the address field is to be interpreted (to    get effective address or the operand) ,[object Object],[object Object],[object Object],Instruction Format  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
THREE,  AND  TWO-ADDRESS INSTRUCTIONS ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Instruction Format  By RAKESH ROSHAN 9971640291
ONE,  AND  ZERO-ADDRESS INSTRUCTIONS ,[object Object],- Use an implied AC register for all data manipulation - Program to evaluate  X = (A + B) * (C + D) : Instruction Format  LOAD  A  /*  AC    M[A]  */ ADD  B  /*  AC    AC + M[B]  */ STORE  T  /*  M[T]    AC  */ LOAD  C  /*  AC    M[C]  */ ADD  D  /*  AC    AC + M[D] */ MUL  T  /*  AC    AC * M[T] */ STORE  X  /*  M[X]    AC  */ ,[object Object],- Can be found in a stack-organized computer - Program to evaluate  X = (A + B) * (C + D) : PUSH A /*  TOS    A */ PUSH B /*  TOS    B */ ADD /*  TOS    (A + B) */ PUSH C /*  TOS    C */ PUSH D /*  TOS    D */ ADD /*  TOS    (C + D) */ MUL /*  TOS    (C + D) * (A + B)  */  POP X /*  M[X]    TOS */ By RAKESH ROSHAN 9971640291
ADDRESSING  MODES Addressing Modes  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
TYPES  OF  ADDRESSING  MODES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Addressing Modes  By RAKESH ROSHAN 9971640291
TYPES  OF  ADDRESSING  MODES ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Addressing Modes  By RAKESH ROSHAN 9971640291
TYPES  OF  ADDRESSING  MODES Addressing Modes  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
TYPES  OF  ADDRESSING  MODES Addressing Modes  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
ADDRESSING  MODES  - EXAMPLES - Addressing Mode Effective Address Content of AC Addressing Modes  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Load to AC  Mode Address = 500 Next instruction 200 201 202 399 400 450 700 500 800 600 900 702 325 800 300 Memory Address PC = 200 R1 = 400 XR = 100 AC By RAKESH ROSHAN 9971640291
DATA  TRANSFER  INSTRUCTIONS Load   LD Store    ST Move   MOV Exchange   XCH Input   IN Output   OUT Push   PUSH Pop   POP Name  Mnemonic ,[object Object],Direct address LD  ADR AC   M[ADR] Indirect address LD  @ADR AC    M[M[ADR]] Relative address LD  $ADR AC    M[PC + ADR] Immediate operand LD  #NBR AC    NBR Index addressing LD  ADR(X) AC    M[ADR + XR] Register LD  R1 AC    R1 Register indirect LD  (R1) AC    M[R1] Autoincrement LD  (R1)+ AC    M[R1], R1    R1 + 1 Autodecrement  LD  -(R1)  R1    R1 - 1, AC    M[R1] Mode Assembly Convention Register Transfer Data Transfer and Manipulation ,[object Object],By RAKESH ROSHAN 9971640291
DATA  MANIPULATION  INSTRUCTIONS ,[object Object],Arithmetic instructions Logical and bit manipulation instructions Shift instructions ,[object Object],Name  Mnemonic Clear CLR Complement COM AND AND OR OR Exclusive-OR XOR Clear carry CLRC Set carry SETC Complement carry COMC Enable interrupt EI Disable interrupt DI Name  Mnemonic Logical shift right SHR Logical shift left SHL Arithmetic shift right SHRA Arithmetic shift left SHLA Rotate right ROR Rotate left ROL Rotate right thru carry RORC Rotate left thru carry ROLC Name  Mnemonic ,[object Object],[object Object],Data Transfer and Manipulation Increment  INC Decrement  DEC Add  ADD Subtract  SUB Multiply  MUL Divide  DIV Add with Carry  ADDC Subtract with Borrow  SUBB Negate(2’s Complement)  NEG By RAKESH ROSHAN 9971640291
FLAG, PROCESSOR STATUS WORD ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Status Flag Circuit By RAKESH ROSHAN 9971640291 c 7 c 8 A  B 8  8 8-bit ALU V  Z  S  C F 7 F 7  - F 0 8 F Check for zero output
PROGRAM  CONTROL  INSTRUCTIONS Program Control PC +1 In-Line Sequencing (Next instruction is fetched from the next adjacent location in the memory) Address from other source; Current Instruction, Stack, etc; Branch, Conditional Branch, Subroutine, etc ,[object Object],Name  Mnemonic Branch  BR Jump  JMP Skip  SKP Call  CALL Return  RTN Compare(by    )  CMP Test(by AND)  TST * CMP and TST instructions do not retain their  results of operations (    and AND, respectively). They only set or clear certain Flags. By RAKESH ROSHAN 9971640291
CONDITIONAL  BRANCH  INSTRUCTIONS BZ Branch if zero Z = 1 BNZ Branch if not zero Z = 0 BC Branch if carry C = 1 BNC Branch if no carry C = 0 BP Branch if plus S = 0 BM Branch if minus S = 1 BV Branch if overflow V = 1 BNV Branch if no overflow V = 0 BHI Branch if higher A > B BHE Branch if higher or equal A    B BLO Branch if lower A < B BLOE Branch if lower or equal A    B BE Branch if equal A = B BNE Branch if not equal A    B BGT Branch if greater than A > B BGE Branch if greater or equal A    B BLT Branch if less than A < B BLE Branch if less or equal A    B BE Branch if equal A = B BNE Branch if not equal A    B Unsigned   compare conditions (A - B) Signed   compare conditions (A - B) Mnemonic  Branch condition  Tested condition Program Control By RAKESH ROSHAN 9971640291
SUBROUTINE  CALL  AND  RETURN Call subroutine Jump to subroutine Branch to subroutine Branch and save return address ,[object Object],[object Object],[object Object],[object Object],[object Object],Program Control ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],CALL SP    SP - 1 M[SP]    PC PC    EA RTN PC    M[SP] SP    SP + 1 By RAKESH ROSHAN 9971640291
PROGRAM  INTERRUPT Types of Interrupts External interrupts External Interrupts initiated from the outside of CPU and Memory - I/O Device -> Data transfer request or Data transfer complete - Timing Device -> Timeout - Power Failure  - Operator Internal interrupts (traps) Internal Interrupts are caused by the currently running program  - Register, Stack Overflow - Divide by zero - OP-code Violation - Protection Violation  Software Interrupts Both External and Internal Interrupts are initiated by the computer HW. Software Interrupts are initiated by the executing an instruction. - Supervisor Call -> Switching from a user mode to the supervisor mode ->  Allows to execute a certain class of operations which are not allowed in the user mode Program Control By RAKESH ROSHAN 9971640291
INTERRUPT  PROCEDURE ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Program Control Interrupt Procedure and Subroutine Call By RAKESH ROSHAN 9971640291
RISC: Historical Background RISC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291 High-Level Language Instruction Set Hardware Compiler  -program Architecture Implementation Hardware Hardware
ARGUMENTS ADVANCED AT THAT TIME ,[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
ARCHITECTURE  DESIGN  PRINCIPLES  - IN  70’s - RISC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
COMPARISONS  OF  EXECUTION  MODELS A    B + C  Data: 32-bit  RISC Load rB B Load rC C Add rA Store rA A rB rC Load B Add C Store A Add B C A ,[object Object],[object Object],[object Object],I = 104b; D = 96b; M = 200b I = 72b; D = 96b; M = 168b I = 56b; D = 96b; M = 152b 8 4 16 8 16 8 16 16 16 By RAKESH ROSHAN 9971640291
REDUCED INSTRUCTION SET COMPUTERS  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
REDUCED INSTRUCTION SET COMPUTERS  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
BERKELEY  RISC I - 32-bit integrated circuit CPU - 32-bit address, 8-, 16-, 32-bit data - 32-bit instruction format - total 31 instructions - three addressing modes:  register; immediate; PC relative addressing - 138 registers 10 global registers  8 windows of 32 registers each Berkeley  RISC I  Instruction Formats RISC Opcode Rs Rd 0 Not used S2 31 24  23 19  18 14 13 12 5 4 0 8 5 5 1 8 5 Opcode Rs Rd 1 S2 31 24  23 19  18 14 13 12 0 8 5 5 1 13 Opcode COND Y 31 24  23 19  18 0 8 5 19 Regsiter mode: (S2 specifies a register) Register-immediate mode (S2 specifies an operand) PC relative mode By RAKESH ROSHAN 9971640291
BERKELEY RISC I  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
INSTRUCTION  SET  OF  BERKELEY  RISC I Data manipulation instructions ADD Rs,S2,Rd Rd    Rs + S2 Integer add ADDC Rs,S2,Rd Rd    Rs + S2 + carry Add with carry SUB Rs,S2,Rd Rd    Rs - S2 Integer subtract SUBC Rs,S2,Rd Rd    Rs - S2 - carry Subtract with carry SUBR Rs,S2,Rd Rd    S2 - Rs Subtract reverse SUBCR Rs,S2,Rd Rd    S2 - Rs - carry Subtract with carry AND Rs,S2,Rd Rd    Rs    S2 AND OR Rs,S2,Rd Rd    Rs    S2 OR XOR Rs,S2,Rd Rd    Rs    S2 Exclusive-OR SLL Rs,S2,Rd Rd    Rs shifted by S2 Shift-left SRL Rs,S2,Rd Rd    Rs shifted by S2 Shift-right logical SRA Rs,S2,Rd Rd    Rs shifted by S2 Shift-right arithmetic Data transfer instructions LDL (Rs)S2,Rd Rd    M[Rs + S2] Load long LDSU (Rs)S2,Rd Rd    M[Rs + S2] Load short unsigned LDSS (Rs)S2,Rd Rd    M[Rs + S2] Load short signed LDBU (Rs)S2,Rd Rd    M[Rs + S2] Load byte unsigned LDBS (Rs)S2,Rd Rd    M[Rs + S2] Load byte signed LDHI Rd,Y Rd    Y Load immediate high STL Rd,(Rs)S2 M[Rs + S2]    Rd Store long STS Rd,(Rs)S2 M[Rs + S2]    Rd Store short STB Rd,(Rs)S2 M[Rs + S2]    Rd Store byte GETPSW Rd Rd    PSW Load status word PUTPSW Rd PSW    Rd Set status word Opcode  Operands  Register Transfer  Description RISC By RAKESH ROSHAN 9971640291
Program control instructions JMP COND,S2(Rs) PC    Rs + S2 Conditional jump JMPR COND,Y PC    PC + Y Jump relative CALL Rd,S2(Rs) Rd    PC, PC    Rs + S2 Call subroutine and CWP    CWP - 1   change window CALLR Rd,Y Rd    PC, PC    PC + Y Call relative and CWP    CWP - 1   change window RET Rd,S2 PC    Rd + S2 Return and CWP    CWP + 1   change window CALLINT Rd Rd    PC,CWP    CWP - 1  Call an interrupt pr. RETINT Rd,S2 PC    Rd + S2 Return from CWP    CWP + 1   interrupt pr. GTLPC Rd Rd    PC Get last PC Opcode  Operands  Register Transfer  Description INSTRUCTION  SET  OF  BERKELEY  RISC I By RAKESH ROSHAN 9971640291
CHARACTERISTICS  OF  RISC ,[object Object],[object Object],- VLSI Realization - Computing Speed - Design Costs and Reliability - High Level Language Support RISC ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],By RAKESH ROSHAN 9971640291
ADVANTAGES  OF  RISC ,[object Object],- Simpler, smaller control unit    faster - Simpler instruction set; addressing modes; instruction format     faster decoding - Register operation    faster than memory operation - Register window    enhances the overall speed of execution - Identical instruction length, One cycle instruction execution    suitable for pipelining    faster RISC ,[object Object],Control area is considerably reduced Example : RISC I:  6% RISC II: 10% MC68020: 68% general CISCs: ~50%    RISC chips allow a large number of registers on the chip - Enhancement of performance and HLL support - Higher regularization factor and lower VLSI design cost The GaAs VLSI chip realization is possible By RAKESH ROSHAN 9971640291
ADVANTAGES  OF  RISC ,[object Object],- Shorter time to design     reduction in the overall design cost and  reduces the problem that the end product will  be obsolete by the time the design is completed - Simpler, smaller control unit     higher reliability - Simple instruction format (of fixed length)    ease of virtual memory management ,[object Object],- A single choice of instruction     shorter, simpler compiler - A large number of CPU registers     more efficient code - Register window     Direct support of HLL - Reduced burden on compiler writer RISC By RAKESH ROSHAN 9971640291

Contenu connexe

Tendances

Computer instruction
Computer instructionComputer instruction
Computer instructionSanjeev Patel
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 80869840596838
 
8085 arithmetic instructions
8085 arithmetic instructions8085 arithmetic instructions
8085 arithmetic instructionsprashant1271
 
Logical and shift micro operations
Logical and shift micro operationsLogical and shift micro operations
Logical and shift micro operationsSanjeev Patel
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.CS_GDRCST
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instructionSanjeev Patel
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 
Computer instructions
Computer instructionsComputer instructions
Computer instructionsAnuj Modi
 
8086 modes
8086 modes8086 modes
8086 modesPDFSHARE
 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085saleForce
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorRavi Anand
 

Tendances (20)

CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
Microprocessor 8086
Microprocessor 8086Microprocessor 8086
Microprocessor 8086
 
Computer instruction
Computer instructionComputer instruction
Computer instruction
 
Instruction set of 8086
Instruction set of 8086Instruction set of 8086
Instruction set of 8086
 
8085 arithmetic instructions
8085 arithmetic instructions8085 arithmetic instructions
8085 arithmetic instructions
 
Logical and shift micro operations
Logical and shift micro operationsLogical and shift micro operations
Logical and shift micro operations
 
Computer Organization and Architecture.
Computer Organization and Architecture.Computer Organization and Architecture.
Computer Organization and Architecture.
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Memory reference instruction
Memory reference instructionMemory reference instruction
Memory reference instruction
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Arm instruction set
Arm instruction setArm instruction set
Arm instruction set
 
Computer instructions
Computer instructionsComputer instructions
Computer instructions
 
8086 modes
8086 modes8086 modes
8086 modes
 
Instruction set-of-8085
Instruction set-of-8085Instruction set-of-8085
Instruction set-of-8085
 
8085 instruction set
8085 instruction set8085 instruction set
8085 instruction set
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Memory System
Memory SystemMemory System
Memory System
 
DMA operation
DMA operationDMA operation
DMA operation
 
Introduction to 8085 Microprocessor
Introduction to 8085 MicroprocessorIntroduction to 8085 Microprocessor
Introduction to 8085 Microprocessor
 

En vedette

4th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-74th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-7Sujay pai
 
Central Processing Unit User View
Central Processing Unit User ViewCentral Processing Unit User View
Central Processing Unit User ViewAnuj Modi
 
Csa stack
Csa stackCsa stack
Csa stackPCTE
 
15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COAJay Patel
 
Unit 3 basic processing unit
Unit 3   basic processing unitUnit 3   basic processing unit
Unit 3 basic processing unitchidabdu
 
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing UnitSlideshare
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unitAshim Saha
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)Mahesh Kumar Attri
 
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...vtunotesbysree
 
OS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and MonitorsOS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and Monitorssgpraju
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5Umang Gupta
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and DesignKamal Acharya
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Designmekind
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organizationBadrinath Kadam
 

En vedette (20)

4th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-74th sem,(cs is),computer org unit-7
4th sem,(cs is),computer org unit-7
 
Central Processing Unit User View
Central Processing Unit User ViewCentral Processing Unit User View
Central Processing Unit User View
 
Intro to cao &store program
Intro to cao &store programIntro to cao &store program
Intro to cao &store program
 
Csa stack
Csa stackCsa stack
Csa stack
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA15 control-computer organization and archietecture-CO-COA
15 control-computer organization and archietecture-CO-COA
 
Unit 3 basic processing unit
Unit 3   basic processing unitUnit 3   basic processing unit
Unit 3 basic processing unit
 
Basic Processing Unit
Basic Processing UnitBasic Processing Unit
Basic Processing Unit
 
Unit2 control unit
Unit2 control unitUnit2 control unit
Unit2 control unit
 
2.computer org.
2.computer org.2.computer org.
2.computer org.
 
Addressing modes (detailed data path)
Addressing modes (detailed data path)Addressing modes (detailed data path)
Addressing modes (detailed data path)
 
Lect15 organization
Lect15 organizationLect15 organization
Lect15 organization
 
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
VTU 4TH SEM CSE COMPUTER ORGANIZATION SOLVED PAPERS OF JUNE-2013 JUNE-2014 & ...
 
OS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and MonitorsOS Process Synchronization, semaphore and Monitors
OS Process Synchronization, semaphore and Monitors
 
Computer organiztion5
Computer organiztion5Computer organiztion5
Computer organiztion5
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Ntroduction to computer architecture and organization
Ntroduction to computer architecture and organizationNtroduction to computer architecture and organization
Ntroduction to computer architecture and organization
 
Basic Computer Organization and Design
Basic Computer Organization and DesignBasic Computer Organization and Design
Basic Computer Organization and Design
 
Computer Architecture and organization
Computer Architecture and organizationComputer Architecture and organization
Computer Architecture and organization
 

Similaire à CO by Rakesh Roshan

central processing unit.ppt
central processing unit.pptcentral processing unit.ppt
central processing unit.pptssuserd27779
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013arunachalamr16
 
Bca 2nd sem-u-4 central processing unit and pipeline
Bca 2nd sem-u-4 central processing unit and pipelineBca 2nd sem-u-4 central processing unit and pipeline
Bca 2nd sem-u-4 central processing unit and pipelineRai University
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipelineRai University
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineRai University
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineRai University
 
CPU Register Organization.ppt
CPU Register Organization.pptCPU Register Organization.ppt
CPU Register Organization.pptprathamgunj
 
Ch8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALUCh8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALURNShukla7
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and ArchitectureSubhasis Dash
 
Chapter8.ppt
Chapter8.pptChapter8.ppt
Chapter8.pptAllwin19
 
COA_Compter architecture and organization_Unit III_PPT.pptx
COA_Compter architecture and organization_Unit III_PPT.pptxCOA_Compter architecture and organization_Unit III_PPT.pptx
COA_Compter architecture and organization_Unit III_PPT.pptxAkshat39
 

Similaire à CO by Rakesh Roshan (20)

central processing unit.ppt
central processing unit.pptcentral processing unit.ppt
central processing unit.ppt
 
CAO_Unit-3.ppt
CAO_Unit-3.pptCAO_Unit-3.ppt
CAO_Unit-3.ppt
 
Central processing unit and stack organization r013
Central processing unit and stack organization   r013Central processing unit and stack organization   r013
Central processing unit and stack organization r013
 
Bca 2nd sem-u-4 central processing unit and pipeline
Bca 2nd sem-u-4 central processing unit and pipelineBca 2nd sem-u-4 central processing unit and pipeline
Bca 2nd sem-u-4 central processing unit and pipeline
 
central processing unit and pipeline
central processing unit and pipelinecentral processing unit and pipeline
central processing unit and pipeline
 
Mca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipelineMca i-u-4 central processing unit and pipeline
Mca i-u-4 central processing unit and pipeline
 
Chapter8.ppt
Chapter8.pptChapter8.ppt
Chapter8.ppt
 
B.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipelineB.sc cs-ii-u-4 central processing unit and pipeline
B.sc cs-ii-u-4 central processing unit and pipeline
 
7. CPU_Unit3 (1).pdf
7. CPU_Unit3 (1).pdf7. CPU_Unit3 (1).pdf
7. CPU_Unit3 (1).pdf
 
CPU Register Organization.ppt
CPU Register Organization.pptCPU Register Organization.ppt
CPU Register Organization.ppt
 
COA_mod2.ppt
COA_mod2.pptCOA_mod2.ppt
COA_mod2.ppt
 
Ch8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALUCh8_CENTRAL PROCESSING UNIT Registers ALU
Ch8_CENTRAL PROCESSING UNIT Registers ALU
 
Computer Organisation and Architecture
Computer Organisation and ArchitectureComputer Organisation and Architecture
Computer Organisation and Architecture
 
unit-3-L1.ppt
unit-3-L1.pptunit-3-L1.ppt
unit-3-L1.ppt
 
Chapter8.ppt
Chapter8.pptChapter8.ppt
Chapter8.ppt
 
Cpu unit
Cpu unitCpu unit
Cpu unit
 
Chapter3.ppt
Chapter3.pptChapter3.ppt
Chapter3.ppt
 
COA_Compter architecture and organization_Unit III_PPT.pptx
COA_Compter architecture and organization_Unit III_PPT.pptxCOA_Compter architecture and organization_Unit III_PPT.pptx
COA_Compter architecture and organization_Unit III_PPT.pptx
 
UNIT-3.pptx
UNIT-3.pptxUNIT-3.pptx
UNIT-3.pptx
 
Unit iii mca 1st year
Unit iii mca 1st yearUnit iii mca 1st year
Unit iii mca 1st year
 

Dernier

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUK Journal
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessPixlogix Infotech
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CVKhem
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?Igalia
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 

Dernier (20)

Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 

CO by Rakesh Roshan

  • 1. Computer Organization UNIT 3 Prepared By Prof. Rakesh Roshan [email_address] Prof. RAKESH ROSHAN 09971640291 By RAKESH ROSHAN 9971640291
  • 2.
  • 3.
  • 4.
  • 5. GENERAL REGISTER ORGANIZATION General Register Organization By RAKESH ROSHAN 9971640291 MUX SELA { MUX } SELB ALU OPR R1 R2 R3 R4 R5 R6 R7 Input 3 x 8 decoder SELD Load (7 lines) Output A bus B bus Clock
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13.
  • 14.
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20.
  • 21.
  • 22.
  • 23.
  • 24.
  • 25. CONDITIONAL BRANCH INSTRUCTIONS BZ Branch if zero Z = 1 BNZ Branch if not zero Z = 0 BC Branch if carry C = 1 BNC Branch if no carry C = 0 BP Branch if plus S = 0 BM Branch if minus S = 1 BV Branch if overflow V = 1 BNV Branch if no overflow V = 0 BHI Branch if higher A > B BHE Branch if higher or equal A  B BLO Branch if lower A < B BLOE Branch if lower or equal A  B BE Branch if equal A = B BNE Branch if not equal A  B BGT Branch if greater than A > B BGE Branch if greater or equal A  B BLT Branch if less than A < B BLE Branch if less or equal A  B BE Branch if equal A = B BNE Branch if not equal A  B Unsigned compare conditions (A - B) Signed compare conditions (A - B) Mnemonic Branch condition Tested condition Program Control By RAKESH ROSHAN 9971640291
  • 26.
  • 27. PROGRAM INTERRUPT Types of Interrupts External interrupts External Interrupts initiated from the outside of CPU and Memory - I/O Device -> Data transfer request or Data transfer complete - Timing Device -> Timeout - Power Failure - Operator Internal interrupts (traps) Internal Interrupts are caused by the currently running program - Register, Stack Overflow - Divide by zero - OP-code Violation - Protection Violation Software Interrupts Both External and Internal Interrupts are initiated by the computer HW. Software Interrupts are initiated by the executing an instruction. - Supervisor Call -> Switching from a user mode to the supervisor mode -> Allows to execute a certain class of operations which are not allowed in the user mode Program Control By RAKESH ROSHAN 9971640291
  • 28.
  • 29.
  • 30.
  • 31.
  • 32.
  • 33.
  • 34.
  • 35. BERKELEY RISC I - 32-bit integrated circuit CPU - 32-bit address, 8-, 16-, 32-bit data - 32-bit instruction format - total 31 instructions - three addressing modes: register; immediate; PC relative addressing - 138 registers 10 global registers 8 windows of 32 registers each Berkeley RISC I Instruction Formats RISC Opcode Rs Rd 0 Not used S2 31 24 23 19 18 14 13 12 5 4 0 8 5 5 1 8 5 Opcode Rs Rd 1 S2 31 24 23 19 18 14 13 12 0 8 5 5 1 13 Opcode COND Y 31 24 23 19 18 0 8 5 19 Regsiter mode: (S2 specifies a register) Register-immediate mode (S2 specifies an operand) PC relative mode By RAKESH ROSHAN 9971640291
  • 36.
  • 37. INSTRUCTION SET OF BERKELEY RISC I Data manipulation instructions ADD Rs,S2,Rd Rd  Rs + S2 Integer add ADDC Rs,S2,Rd Rd  Rs + S2 + carry Add with carry SUB Rs,S2,Rd Rd  Rs - S2 Integer subtract SUBC Rs,S2,Rd Rd  Rs - S2 - carry Subtract with carry SUBR Rs,S2,Rd Rd  S2 - Rs Subtract reverse SUBCR Rs,S2,Rd Rd  S2 - Rs - carry Subtract with carry AND Rs,S2,Rd Rd  Rs  S2 AND OR Rs,S2,Rd Rd  Rs  S2 OR XOR Rs,S2,Rd Rd  Rs  S2 Exclusive-OR SLL Rs,S2,Rd Rd  Rs shifted by S2 Shift-left SRL Rs,S2,Rd Rd  Rs shifted by S2 Shift-right logical SRA Rs,S2,Rd Rd  Rs shifted by S2 Shift-right arithmetic Data transfer instructions LDL (Rs)S2,Rd Rd  M[Rs + S2] Load long LDSU (Rs)S2,Rd Rd  M[Rs + S2] Load short unsigned LDSS (Rs)S2,Rd Rd  M[Rs + S2] Load short signed LDBU (Rs)S2,Rd Rd  M[Rs + S2] Load byte unsigned LDBS (Rs)S2,Rd Rd  M[Rs + S2] Load byte signed LDHI Rd,Y Rd  Y Load immediate high STL Rd,(Rs)S2 M[Rs + S2]  Rd Store long STS Rd,(Rs)S2 M[Rs + S2]  Rd Store short STB Rd,(Rs)S2 M[Rs + S2]  Rd Store byte GETPSW Rd Rd  PSW Load status word PUTPSW Rd PSW  Rd Set status word Opcode Operands Register Transfer Description RISC By RAKESH ROSHAN 9971640291
  • 38. Program control instructions JMP COND,S2(Rs) PC  Rs + S2 Conditional jump JMPR COND,Y PC  PC + Y Jump relative CALL Rd,S2(Rs) Rd  PC, PC  Rs + S2 Call subroutine and CWP  CWP - 1 change window CALLR Rd,Y Rd  PC, PC  PC + Y Call relative and CWP  CWP - 1 change window RET Rd,S2 PC  Rd + S2 Return and CWP  CWP + 1 change window CALLINT Rd Rd  PC,CWP  CWP - 1 Call an interrupt pr. RETINT Rd,S2 PC  Rd + S2 Return from CWP  CWP + 1 interrupt pr. GTLPC Rd Rd  PC Get last PC Opcode Operands Register Transfer Description INSTRUCTION SET OF BERKELEY RISC I By RAKESH ROSHAN 9971640291
  • 39.
  • 40.
  • 41.