SlideShare a Scribd company logo
2
Most read
5
Most read
6
Most read
COMPUTER INSTRUCTIONS & TIMING & CONTROL.
The basic computer has three instruction code formats which are :-
 MEMORY- REFERENCE INSTRUCTION
A memory – reference instruction uses 12 bits to specify an
address and 1 bit to specify the addressing mode I. I is equal to 0
for direct address and to 1 for indirect address
 REGISTER- REFERENCE INSTRUCTION
A register reference instruction specifies an operation on or a
test of the AC register .An operand from the memory is not
needed therefore the other 12 bits are used to specify the
operation to be executed.
 INPUT-OUTPUT INSTRUCTION
An input-output instruction does not need a reference to memory
and is recognized by operational code 111 with a 1 in the left
most bit of the instruction the remaining 12 bits are used to
specify the type of input output operation or test performed.
 Basic Computer Instruction Format
15 14 12 11 0
I Opcode Address
Memory-Reference Instructions (OP-code = 000 ~ 110)
Register-Reference Instructions (OP-code = 111, I = 0)
Input-Output Instructions (OP-code =111, I = 1)
15 12 11 0
Register operation0 1 1 1
15 12 11 0
I/O operation1 1 1 1
3 Instruction Code Formats :
 Memory-reference instruction
 Register-reference instruction
 Input-Output instruction
I Opcode Address
15 14 12 11 0
I=0 : Direct,
I=1 : Indirect
0 1 1 1 Register Operation
15 14 12 11 0
1 1 1 1 I/O Operation
15 14 12 11 0
Hex Code
Symbol I = 0 I = 1 Description
AND 0xxx 8xxx And memory word to AC
ADD 1xxx 9xxx Add memory word to AC
LDA 2xxx Axxx Load memory word to AC
STA 3xxx Bxxx Store content of AC in memory
BUN 4xxx Cxxx Branch unconditionally
BSA 5xxx Dxxx Branch and Save return address
ISZ 6xxx Exxx Increment and skip if zero
CLA 7800 Clear AC
CLE 7400 Clear E
CMS 7200 Complement AC
CME 7100 Complement E
CIR 7080 Circulate right AC and E
CIL 7040 Circulate left AC and E
INC 7020 Increment AC
SPA 7010 Skip next instruction if AC positive
SNA 7008 Skip next instruction if AC negative
SZA 7004 Skip next instruction if AC zero
SZE 7002 Skip next instruction if E is 0
HLT 7001 Halt computer
INP F800 Input character to AC
OUT F400 Output character from AC
SKI F200 Skip on input flag
SKO F100 Skip on output flag
ION F080 Interrupt On
IOF F040 Interrupt Off
The timing for all register in basic computer is controlled by a master
clock generator.
Clock pulses – The clock pulses are applied to all flip-flops and
registers in the system , including the flip-flops in the control unit .
The clock pulses do not change the state of a register unless the
register is unable by a control signal.
There are two types of control organizations :-
1. Hardwired control – In hardwired organization, the control logic
is implemented with gates , flip-flops , decoders , and other
digital circuits. It has the advantage that it can be optimized to
produce a fast mode of operation.
2. Micro program control – The control information is stored in the
control memory . The control memory is programmed to initiate
the required sequence of micro operations.
Control unit of Basic Computer
Instruction register (IR)
15 14 13 12 11 - 0
3 x 8
decoder
7 6 5 4 3 2 1 0
I
D0
15 14 . . . . 2 1 0
4 x 16
decoder
4-bit
sequence
counter
(SC)
Increment (INR)
Clear (CLR)
Clock
Other inputs
Control
signals
D
T
T
7
15
0
Combinational
Control
logic
COMPUTER INSTRUCTIONS & TIMING & CONTROL.

More Related Content

PPTX
Timing and control
DOCX
Control Units : Microprogrammed and Hardwired:control unit
PPTX
Register transfer and micro-operation
PPTX
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
PPTX
Microoperations
PPTX
Instruction codes
PPTX
Types of Addressing modes- COA
PPTX
Assembly Language
Timing and control
Control Units : Microprogrammed and Hardwired:control unit
Register transfer and micro-operation
Modes of transfer - Computer Organization & Architecture - Nithiyapriya Pasav...
Microoperations
Instruction codes
Types of Addressing modes- COA
Assembly Language

What's hot (20)

PPTX
Addressing sequencing
PPTX
Modes of transfer
PPTX
bus and memory tranfer (computer organaization)
PPT
80486 microprocessor
PPTX
Instruction Set Architecture
PPS
Cache memory
PDF
Control Unit Design
PPTX
design of accumlator
PPTX
Presentation on risc pipeline
PDF
Computer performance
PPS
Synchronous and-asynchronous-data-transfer
PPTX
Pipeline processing and space time diagram
PPTX
Assembly language
PPT
Instruction cycle
PPT
Bus interconnection
PPTX
Register organization, stack
PPT
Input output organization
PPT
Instruction format
PPTX
Floating point arithmetic operations (1)
PPTX
Multiplication algorithm
Addressing sequencing
Modes of transfer
bus and memory tranfer (computer organaization)
80486 microprocessor
Instruction Set Architecture
Cache memory
Control Unit Design
design of accumlator
Presentation on risc pipeline
Computer performance
Synchronous and-asynchronous-data-transfer
Pipeline processing and space time diagram
Assembly language
Instruction cycle
Bus interconnection
Register organization, stack
Input output organization
Instruction format
Floating point arithmetic operations (1)
Multiplication algorithm
Ad

Viewers also liked (11)

PPT
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
PPTX
Addresing modes
PPTX
Workshop Assembler
PPTX
Computer instruction
PPT
Instruction codes and computer registers
PDF
Instruction code
PPTX
Basic Computer Organization and Design
PPS
Computer instructions
PPT
Types of instructions
PPT
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
Addresing modes
Workshop Assembler
Computer instruction
Instruction codes and computer registers
Instruction code
Basic Computer Organization and Design
Computer instructions
Types of instructions
Chapter 3 INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING
Ad

Similar to COMPUTER INSTRUCTIONS & TIMING & CONTROL. (20)

PDF
COA UNIT-2 PPT FOR CSE STUDENTS FOR ALLE
PDF
2024_lecture6_come321.pdf...............................
PPTX
Computer instruction(dp&co)
PDF
CAAL_CCSU_U1.pdf
PPTX
Module 2- Basic Computer Organization and Design.pptx
PPTX
Computer Organization
PPT
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
PPT
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
PPTX
Computer Organization and architecturech5.pptx
PPTX
Unit2pptx__2021_12wqeqw_27_08_56_15 (1).pptx
PPTX
Basic Computer Organization and Design
PPTX
Lecture 13
PPTX
Unit_2 (4).pptx
PDF
Ca basic computer organization
PPTX
Computer Organization & Architecture (COA) Unit 2
PPTX
Basic computer organization design
PPT
Memory Reference instruction
PDF
cse211 power point presentation for engineering
PDF
computer organization and assembly language giki course slides
PPTX
Module-2 gitam engineering college PPT.pptx
COA UNIT-2 PPT FOR CSE STUDENTS FOR ALLE
2024_lecture6_come321.pdf...............................
Computer instruction(dp&co)
CAAL_CCSU_U1.pdf
Module 2- Basic Computer Organization and Design.pptx
Computer Organization
CH-2 BASIC COMPUTER ORG AND DESIGN.ppt
COA-Unit-2.pptycvygygygtftdddthffhgfghrhhbb
Computer Organization and architecturech5.pptx
Unit2pptx__2021_12wqeqw_27_08_56_15 (1).pptx
Basic Computer Organization and Design
Lecture 13
Unit_2 (4).pptx
Ca basic computer organization
Computer Organization & Architecture (COA) Unit 2
Basic computer organization design
Memory Reference instruction
cse211 power point presentation for engineering
computer organization and assembly language giki course slides
Module-2 gitam engineering college PPT.pptx

Recently uploaded (20)

PPTX
web development for engineering and engineering
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PDF
Well-logging-methods_new................
PDF
composite construction of structures.pdf
PPTX
UNIT-1 - COAL BASED THERMAL POWER PLANTS
PPTX
UNIT 4 Total Quality Management .pptx
PDF
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
PPTX
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PDF
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PDF
Digital Logic Computer Design lecture notes
PDF
Operating System & Kernel Study Guide-1 - converted.pdf
PDF
Structs to JSON How Go Powers REST APIs.pdf
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
PPTX
additive manufacturing of ss316l using mig welding
web development for engineering and engineering
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
Well-logging-methods_new................
composite construction of structures.pdf
UNIT-1 - COAL BASED THERMAL POWER PLANTS
UNIT 4 Total Quality Management .pptx
SM_6th-Sem__Cse_Internet-of-Things.pdf IOT
MCN 401 KTU-2019-PPE KITS-MODULE 2.pptx
PRIZ Academy - 9 Windows Thinking Where to Invest Today to Win Tomorrow.pdf
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Digital Logic Computer Design lecture notes
Operating System & Kernel Study Guide-1 - converted.pdf
Structs to JSON How Go Powers REST APIs.pdf
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Embodied AI: Ushering in the Next Era of Intelligent Systems
Model Code of Practice - Construction Work - 21102022 .pdf
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
additive manufacturing of ss316l using mig welding

COMPUTER INSTRUCTIONS & TIMING & CONTROL.

  • 2. The basic computer has three instruction code formats which are :-  MEMORY- REFERENCE INSTRUCTION A memory – reference instruction uses 12 bits to specify an address and 1 bit to specify the addressing mode I. I is equal to 0 for direct address and to 1 for indirect address  REGISTER- REFERENCE INSTRUCTION A register reference instruction specifies an operation on or a test of the AC register .An operand from the memory is not needed therefore the other 12 bits are used to specify the operation to be executed.  INPUT-OUTPUT INSTRUCTION An input-output instruction does not need a reference to memory and is recognized by operational code 111 with a 1 in the left most bit of the instruction the remaining 12 bits are used to specify the type of input output operation or test performed.
  • 3.  Basic Computer Instruction Format 15 14 12 11 0 I Opcode Address Memory-Reference Instructions (OP-code = 000 ~ 110) Register-Reference Instructions (OP-code = 111, I = 0) Input-Output Instructions (OP-code =111, I = 1) 15 12 11 0 Register operation0 1 1 1 15 12 11 0 I/O operation1 1 1 1
  • 4. 3 Instruction Code Formats :  Memory-reference instruction  Register-reference instruction  Input-Output instruction I Opcode Address 15 14 12 11 0 I=0 : Direct, I=1 : Indirect 0 1 1 1 Register Operation 15 14 12 11 0 1 1 1 1 I/O Operation 15 14 12 11 0 Hex Code Symbol I = 0 I = 1 Description AND 0xxx 8xxx And memory word to AC ADD 1xxx 9xxx Add memory word to AC LDA 2xxx Axxx Load memory word to AC STA 3xxx Bxxx Store content of AC in memory BUN 4xxx Cxxx Branch unconditionally BSA 5xxx Dxxx Branch and Save return address ISZ 6xxx Exxx Increment and skip if zero CLA 7800 Clear AC CLE 7400 Clear E CMS 7200 Complement AC CME 7100 Complement E CIR 7080 Circulate right AC and E CIL 7040 Circulate left AC and E INC 7020 Increment AC SPA 7010 Skip next instruction if AC positive SNA 7008 Skip next instruction if AC negative SZA 7004 Skip next instruction if AC zero SZE 7002 Skip next instruction if E is 0 HLT 7001 Halt computer INP F800 Input character to AC OUT F400 Output character from AC SKI F200 Skip on input flag SKO F100 Skip on output flag ION F080 Interrupt On IOF F040 Interrupt Off
  • 5. The timing for all register in basic computer is controlled by a master clock generator. Clock pulses – The clock pulses are applied to all flip-flops and registers in the system , including the flip-flops in the control unit . The clock pulses do not change the state of a register unless the register is unable by a control signal. There are two types of control organizations :- 1. Hardwired control – In hardwired organization, the control logic is implemented with gates , flip-flops , decoders , and other digital circuits. It has the advantage that it can be optimized to produce a fast mode of operation. 2. Micro program control – The control information is stored in the control memory . The control memory is programmed to initiate the required sequence of micro operations.
  • 6. Control unit of Basic Computer Instruction register (IR) 15 14 13 12 11 - 0 3 x 8 decoder 7 6 5 4 3 2 1 0 I D0 15 14 . . . . 2 1 0 4 x 16 decoder 4-bit sequence counter (SC) Increment (INR) Clear (CLR) Clock Other inputs Control signals D T T 7 15 0 Combinational Control logic