SlideShare ist ein Scribd-Unternehmen logo
1 von 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

Weitere ähnliche Inhalte

Was ist angesagt?

Register transfer language
Register transfer languageRegister transfer language
Register transfer languageSanjeev Patel
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentationrockymani
 
Stack organization
Stack organizationStack organization
Stack organizationchauhankapil
 
Register transfer language & its micro operations
Register transfer language & its micro operationsRegister transfer language & its micro operations
Register transfer language & its micro operationsLakshya Sharma
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)rishi ram khanal
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Gaditek
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and ArchitectureVinit Raut
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memoryMazin Alwaaly
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stackAsif Iqbal
 
Direct memory access
Direct memory accessDirect memory access
Direct memory accessshubham kuwar
 
Computer architecture
Computer architectureComputer architecture
Computer architectureSanjeev Patel
 
8051 architecture
8051 architecture8051 architecture
8051 architecturesb108ec
 
Control unit design
Control unit designControl unit design
Control unit designDhaval Bagal
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction SetDr. Pankaj Zope
 

Was ist angesagt? (20)

Instruction format
Instruction formatInstruction format
Instruction format
 
Register transfer language
Register transfer languageRegister transfer language
Register transfer language
 
Memory organisation ppt final presentation
Memory organisation ppt final presentationMemory organisation ppt final presentation
Memory organisation ppt final presentation
 
Computer arithmetic
Computer arithmeticComputer arithmetic
Computer arithmetic
 
Stack organization
Stack organizationStack organization
Stack organization
 
Register transfer language & its micro operations
Register transfer language & its micro operationsRegister transfer language & its micro operations
Register transfer language & its micro operations
 
General register organization (computer organization)
General register organization  (computer organization)General register organization  (computer organization)
General register organization (computer organization)
 
Memory Organization
Memory OrganizationMemory Organization
Memory Organization
 
Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)Instruction Set Architecture (ISA)
Instruction Set Architecture (ISA)
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Computer architecture cache memory
Computer architecture cache memoryComputer architecture cache memory
Computer architecture cache memory
 
Register organization, stack
Register organization, stackRegister organization, stack
Register organization, stack
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Addressing modes
Addressing modesAddressing modes
Addressing modes
 
Direct memory access
Direct memory accessDirect memory access
Direct memory access
 
Computer architecture
Computer architectureComputer architecture
Computer architecture
 
8051 architecture
8051 architecture8051 architecture
8051 architecture
 
ADDRESSING MODES
ADDRESSING MODESADDRESSING MODES
ADDRESSING MODES
 
Control unit design
Control unit designControl unit design
Control unit design
 
Unit II arm 7 Instruction Set
Unit II arm 7 Instruction SetUnit II arm 7 Instruction Set
Unit II arm 7 Instruction Set
 

Andere mochten auch

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
 

Andere mochten auch (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
 
CO By Rakesh Roshan
CO By Rakesh RoshanCO By Rakesh Roshan
CO By Rakesh Roshan
 
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
 
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
 

Ähnlich wie 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
 

Ähnlich wie 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
 

Kürzlich hochgeladen

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vázquez
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfOrbitshub
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusZilliz
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...apidays
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MIND CTI
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...DianaGray10
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyKhushali Kathiriya
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobeapidays
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityWSO2
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesrafiqahmad00786416
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Zilliz
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAndrey Devyatkin
 

Kürzlich hochgeladen (20)

MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024MINDCTI Revenue Release Quarter One 2024
MINDCTI Revenue Release Quarter One 2024
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 

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.