Intro to Computer Engineering Course
Intro to Computer Engineering Course
Calendar
This is a 14-week course. You will spend 45 hours of study over the 14 weeks.
Preamble
This course aims at developing engineering skills in the design and analysis of
digital logic components and circuits, making students thoroughly familiar
with the basics of gate-level circuit design starting from single gates and
building up to complex systems, and providing hands-on experience and
exposure to circuit design using state-of-the-art computer aided design tools
and programmable logic devices.
Course Description
This course will include:
Introduction to basic concepts of computers with a brief discussion of complete history.
Discussion of the various structural and functional components of computer system
including the internal and external peripherals.
Overview of computer engineering design
Basic Computer Architecture and Organization including Machine Representation of
instructions and data; Instruction format: OPCODE OPERAND.
Understanding fundamental principles of electronic technology and practice in applying
abstract concepts to real problems in Digital computer systems.
The concept of using basic logic gates, symbols and truth tables; memory and other
peripheral devices organized to perform complex calculations at high speed by
automatically processing information in the form of electrical pulses.
Use of Boolean Algebra, Theorems Minimization methods
Number systems and data representation/ information processing by computers.
Character representation; Numeric and non-numeric, Alphanumeric, EBCDIC, BCD and
ASCII
Course Objectives
On successful completion of this course, you should be able to:
Discuss the computer as an electronic machine, its component, history and its uses
Differentiate between data, information and various data conversion in the computer
system.
Discuss Computer hardware and software in a digital computer system
Interconnect the various computer structures to form a useful and powerful machine to
process information at high speed
Model logic signals such as Basic Logics Gates, using truth tables to produce an output from
various inputs (Combinational Systems).
Present Truth Tables and Boolean algebra functions as simplification and minimization
processes
Discuss simple Number Systems, Two’s Complements and Data Representations
Know about how Computer carry out data encoding/conversion processes
Discuss how to design a simple CPU using digital logic analysis
Discuss how different instruction is being issued and carried out by the computer
Course Goal:
To provide an introduction to computer engineering concepts, both
hardware and software, with emphasis placed on digital logic concepts.
Topics include binary number representations, Boolean algebra,
simplification methods for combinational circuits, introduction to sequential
circuits, and introduction to assembly language programming. This course
prepares students to take more advanced courses in any of the branches of
computer engineering.
PRE-REQUISITES: None
LABORATORY PROJECTS:
Students get hands-on experience with designing digital circuits and
programming microprocessors/microcontrollers.
Learning Outcomes
At the end of the course the student should be able to:
• represent and manipulate information in binary form in a written and readable form;
• design, physically implement, and debug basic combinational and sequential logic circuits;
• write structural and data flow models of logic circuits in a hardware description language;
• implement designs represented in a register transfer language;
• discuss and explain the organisation and operation of a basic digital computer;
• describe the execution of machine language computer programmes by writing or flow chart;
• write elementary assembly language programmes and discuss their translation to machine language
programmes;
• use Boolean algebra or K-maps to simplify complex Boolean expressions;
• convert numbers between any two number systems, especially decimal, binary, octal and hex and represent
sign numbers;
• design arithmetic circuits to perform addition and subtraction of signed numbers and detect overflow
conditions;
• implement functions using AND/OR gates, OR/AND gates, NORs only, NANDs only, multiplexers or decoders.
• design the basic flip flops using sequential logic;
• design, implement and test a simple circuit based on a specified word problem;
• programme simple microcontrollers in assembly language; and
• identify a local environment-related need, write and present group reports on hardware and software design
projects using cooperative learning approach (learning team work in problem solving and improvisation).
REQUIRED TEXTS:
1. McGraw Hill, Introduction to Computing Systems: From bits & gates to C & beyond, Patt &
Patel, 2003, Second Edition
2. Digital Logic and Disgn, 3rd Edition; by Sam ogunlere
3. Digital Computer fundamentals, 6th edition; by Thomas c. Bartee.
4. Fundamentals of Digital Logics; by Stephen Brown & Zvonko Vranesic
MODULE – 6: Introduction to Basic Logic Gates, Circuits minimizations using Boolean algebra
and Truth Table Minimization theorem methods Weeks 5 & 6
6.1 Introductions to Digital Logic as the foundation to digital computer systems
6.2 Introductions to Logic Gates and Basic Logic Operations including the use of Truth Table as
simplification/ minimization process
6.3 Introductions to Combinational Logic Circuits including the use of Boolean algebra as s
implification/ minimization process
Course Structure Cont’d
• Class Attendance 5
• Quizzes & Tests 10
• Assignments 10
• Mid–Semester Examination 15
Continuous Assessment (Total) 40
• Final Semester Examination 60
Total 100
MODULE – 1
INTRODUCTION TO COMPUTER SYSTEM I
Learning Outcomes
At the end of this module, you should be able to:
• Identify the basic components of the computer system;
• Explain the primary units ;
• Discuss the input units;
• Explain the processing units; and
• Describe the output units.
Introduction to Computer Engineering
What is a computer?
A computer is an electronic device that can accept data, store data and
manipulate the data to produce information or a result.
Figure 1.1(a): A digital computer block diagram showing the three basic units
Primary Units of a Computer Cont’d
The Major computer units can also be viewed as depicted in Figure 1.1b
CA = Central Arithmetical, CC = Central Controller
• This is the unit that accepts data, instructions and programs into the
computer.
It is the avenue whereby users “talk” to or communicate with the computer
system.
Examples of input devices are:
- Keyboard (basic input device for entering characters, numbers etc. into
the system)
- Scanner (turning hardcopy material like pictures into electronic or
softcopy formats)
- Mouse (a pointing device that helps in selecting objects on the screen)
- Touch screen, Light pen, Joystick
- Disk, and other computers through network connection
1.2.2 The Output Unit
• This is the unit that makes the information (processed data or the result)
available to users.
• Devices in this category may display information on the screen, send output
to other computers, display or print error messages, send requests or even
save information for use.
Examples are:
- Monitor commonly called the screen (Cathode Ray Tube (CRT))
- Liquid Crystal Display (LCD),
- Printer (to get hardcopy)
- Plotter, etc ……
1.2.3 The Processing Unit
This is the unit where the processing of data is done, where data is
manipulated.
It is divided into three main parts namely:
a) The control unit/Processor Unit: Directs and coordinates the flow of
instructions and activities within the computer system.
b) The Arithmetic and Logic Unit (ALU):
AU - performs arithmetic operations like addition, subtraction,
multiplication,
LU - performs comparison operations resulting in true or false outcome.
c) The main storage /memory: Here, we have the internal memory referred to
as Read Only Memory (ROM) and the Random Access Memory (RAM)
The Processing Unit Cont’d
ROM (Read Only Memory):
• Responsible for the booting or starting up of the computer system.
• ROM chips are installed by the computer manufacturer
• Instructions cannot be altered by the user.
1. The part of the processing unit of the computer system that coordinates the
flow of instruction, directs all activities is called the?
Computer pioneers were the earliest people whose ideas, contributions, and inventions helped
in the development of the computer system.
These great people are:
• Blaise Pascal, born in 1623, a French scientist and philosopher, invented the first adding
machine (calculating machine) in 1642.
• Charles Babbage, born in the year 1791, an English mathematician who was referred to as
the father of modern day computer, conceived the idea of making a machine to help in
astronomical calculations. He developed a machine called Analytical Engine in 1833.
• Ada Lovelace wrote a program for the Analytical Engine of Babbage. As a result, she was
known as the first lady programmer. A programming language called ADA a standard
language for most US Government Agencies was named after her
Historical Development of Computers Cont’d
• Hermann Hollerith, born in the year 1860, designed a system of recording data as holes on
punch cards. It became one of the basic input mechanisms for digital computers. The card
was called Hollerith card and was used by the US census bureau to quicken work on census
data.
• Have the ability to perform actions that are characteristic of human intelligence, such
as reasoning, mimicking and learning.
1. Digital Computers
The word ‘digital’ as used means whole numbers (discrete).
• These computers process data in form of discrete or separate values that is 0,1,2,3 etc by
operating on it in steps.
• They cannot work with values in intermediate intervals such as 11/2, 1/3 etc.
• Digital computers are more accurate and more flexible than analog computers because they
use the digital form of electricity signals (see figure below:
Digital signal
Types of Computers Cont’d
2. Analog Computers
In contrast to digital devices, analog devices have continuous values.
• These computers process data in form of variables, that is, quality that changes every time or
continuous signals as can be seen in figure 1.3).
• They are like measuring instruments such as thermometers and voltmeter
• They are mainly used in scientific and industrial control applications.
• They are devices that can measure the numerically defined variables of an abstract system in
terms of some physical quality;
Analog signal
Types of Computers Cont’d
3. Hybrid Computers
These types of computers process data both in digital and analog forms.
For example:
• Setting (programming) on a modern day television involves both digital and analog.
• They are special purpose computers that have found many applications in control and
feedback processes e.g. robots (used in an industrial environment).
3.2 Computer systems classification according to size and processing power
computer systems are available according to their sizes and processing power
which can be classified as follows:
1. SMALL or MICRO COMPUTERS
• Central processing unit (CPU) is based on a microprocessor.
• Smallest and inexpensive computers
Example: Micro or PCs (Personal Computers) e. g. Desktop, portables (laptops,
notebooks) and hand-held units.
3. MAINFRAME COMPUTERS
• These are large computer systems that are used by big organisations
• processing business transactions like payroll, salary, inventory and routine paperwork.
• They can operate 24 hours a day serving hundred of users
Example: IBM 360/370 system, NCRV-8800 systems).
4. SUPER COMPUTERS
• These are the fastest largest and most expensive computer system.
• They are used usually in scientific and research laboratories.
• Also used in sending astronauts into the outer space, for weather forecasting
Example: CRAY, X-Map and CRAY 2, VAX, ICL2690 etc….
Note that the Mini, mainframe and supper computers can be used as what is known as SERVER
3.3 Computer Configurations
There are two basic components of a computer system: Hardware and Software.
• The Hardware are the various physical components of a computer system. Any
part that can be held or felt or touched is hardware (Tangible parts)
COMPUTER CONFIGURATION
Hardware Software
SYSTEM SOFTWARE
• System software is a program or collection of programs which links other software like the
application software with the system hardware.
• It acts like the intermediary
Peripherals:
Peripheral devices are the hardware components of a computer system that are either attached
or connected externally to the system unit through a wired or wireless medium. The common
ones are:
• Flash disk, Hard disk, Magnetic tape, Optical Disk, Cassette tape
4.2 Computer Software Concepts
Software is the intangible part of a computer system
• application software (made up of ‘off the shelf’ and In-house/user defined software)
Types of operating systems
Translator
Source Code Machine/Object
code
– Interpreter (a program that does its translation of high level language program
to machine code line by line basis. If the first line is not settled it does not go to
the next).
– Compiler (a program that translate a high level program into its machine
equivalent in batches).
Utilities Program
These are programs responsible for routine operations within the computer system.
• Backup utilities: These are programs designed to backup or keep a duplicate copy of the
contents of a hard disk drive on CD, DVD, flash drive, tape etc.
• Data Compression programs: These are programs used for compressing large files, thereby
freeing up disk space.
• Diagnostic software: These are programs designed to help in finding and correcting
problems on the computer.
• Disk defragmenter: A program that re-organises contiguously programs that were initially
non-contiguous on the memory to free more space for incoming programs and to improve
access time.
• Vaccine programs: These are programs designed to prevent virus from entering the
computer system. They are popularly called antivirus software.
Programming Languages
These are languages used to write instructions that computer will follow, work
on or execute. Basically, we have the:
-I/O: Moves data between the computer and its external environment.
- System interconnection: Some mechanism that provides for communication among CPU,
main memory, and I/O. A common
E.g. the system bus, consisting of a number of conducting wires to which all the
other components are attached.
• Control Unit: Provides control signals for the operation and coordination of all processor
components
• ALU: Arithmetic logic unit -This is the part of the CPU that executes individual instructions
involving data (operands).
• Register: A high speed memory location in the CPU which holds a fixed amount of data.
Registers of most current systems hold 64 bits or 8 bytes of data.
• PC: Program counter - Also called the instruction pointer, is a register which holds the
memory address of the next instruction to be executed.
• IR: Instruction register - A register which holds the current instruction being executed.
Architecture extends upward into computer software because a processor’s architecture must
cooperate with the operating system and system software as depicted in the Table below
Operating System Layer Software Controller: It controls the way in which other software
5 relate to the hardware
Machine Language: This is the layer that accepts only low-level
4 HARDWARE Machine Layer programming languages such as machine language.
HARDWARE
Machine Language Interpreter: It takes the machine language from
3 Microprogrammed the machine layer, interprets it or put it in the form that logic
Layer* circuits could handle
Logic Elements – Gates: Most computer operations (store,
2 Digital Logic Layer manipulate, data transfer, etc) are performed on this layer. Logic
circuits built with gates and associated storage devices like flip-
flops (counters, registers, ALU).
Electrical & Electronic Layer: All computers are built from simple
1 Physical Device Layer electrical and electronic components such as transistors, diodes,
resistors, capacitors, etc
Collective Function of Computer Cooperating Components
BUS System
A collection of parallel electrical conductors called ‘lines’ onto which a number of
components or devices may be connected or it is a common pathway or channel between
multiple devices.
E. g.
A 16-bit bus transfers 2 bytes at a time over 16 wires, and a 32-bit bus uses 32 wires, and so on.
Data bus:
- Is the internal pathway across which data is transferred to and from the processor or
to and from memory. (see diagram next slide)
- The width and speed of the data bus directly affects performance and significantly
influence system throughput.
- Data bus width indicates how many bytes the bus can carry during each transfer.
Control bus:
- Is technically a collection of control signals.
- Is used to identify the type of bus cycle and indicate when the cycle is complete.
Collective Function of Computer Cooperating Components Cont’d
The time taken to move data from the Main Memory to the CPU = tm .
The time taken to move data from the Main Memory to the Cache = tmc .
The time taken to move data from the Cache Memory to the CPU = tcc .
If the data is first being moved from Main Memory to the CPU through the Cache, then
tm = tmc + tcc + tdc , where tdc is the delay time introduced by the Cache Memory which may be
negligible.
However, if the data is not returned to the Main Memory immediately after use, instead, it is kept in the
Cache Memory for further use, then, the data transfer time remains only t cc. Therefore, the time saved is
equivalent to the time t taken to move data from the Main Memory to the Cache if it were installed.
Computer Performance Strategies
• By placing multiple processors on the same chip (also known as multiple cores, or Dual
core), with a large shared cache. This provides the potential to increase performance
without increasing the clock rate.
• Bus Systems – increase Bus system size (from 16bit to 32 – to -64 –to- 128 etc)
The performances of computers are measured by their speed and capacity to handle large
volumes of data in Millions or billions of Instructions Per Second (MIPS or BIPS).
Three ways of placing components of computer in relation to BUS System
(a) Single-Chip Computers: (Embedded Computers – BUS width = 0) –e.g. Mobile phones
(b) Single-Board Computers: (Micro & Mini Computers – BUS width = 8-bit, 16 or 32-bit, 64bit)
(c) Multiple-Board, Bus-Based microcomputers: (Mini & Mainframe Computers – BUS width =
32-bit or 64-bit)
END OF MODULE ASSESSMENT (EMA)
1) What, in general terms, is the distinction between computer organization and computer architecture?
2) What, in general terms, is the distinction between computer structure and computer function?
3) What are the four main functions of a computer?
4) List and briefly define the main structural components of a computer.
5) List and briefly define the main structural components of a processor.
6) The higher the memory size the slower the computer because the speed of data and instructions
retrieval is reduce. Explain two ways by which the speed of data and instructions retrieval can be
made faster?
7) Using a well labeled diagram, showing all possible directions, Draw the diagram of the functional
components of a general purpose digital computer.
8) Name the three classical units of a computer and describe their main functions.
9) Differentiate between a single-chip computer and multiple-board computer?
10) Describe the terms: Computer Architecture and Computer Organization and list their differences
MODULE – 6
For example:
The information processed by a hand calculator is in the form of discrete or digital signals;
each electronic component is either ON / OFF or 1 / 0
• In digital, a major virtue of electronic circuits is the ease and speed with which digital
signals can be processed
Why Use Digital Circuits?
• Digital electronics and circuits have become very popular because of some distinct advantages
they have over analog systems
• Digital systems can be fabricated into integrated circuit (IC) chips. These ICs can be used to form
digital circuits with few external components.
• Information can be stored for short periods or indefinitely.
• Data can be used for precise calculations.
• Digital systems can be designed more easily using suitable logical families.
• Digital systems can be programmed and they show a certain manner of intelligence.
Though most real-world events are analog in nature and analog processing is usually simple.
However, digital circuits are appearing in more and more products primarily because of the
availability of low-cost reliable digital ICs, accuracy, added stability, computer compatibility,
ease of use, and simplicity of design.
Numbers Used In Digital Devices
• Digital electronic devices do not use the familiar or conventional decimal system
of numbers, but instead use binary number system which consists of 0s and 1s
• A digital circuit therefore, is one in which only two logical values are present.
Typically, a signal between 0 and 1 volt represents one value (e.g., binary 0) and a
signal between 2 and 5 volts represents the other value (e.g., binary 1).
• The fundamental building block of all digital logic circuits is the logic gate. Logical
functions are implemented by the interconnection of gates.
• Logic circuits are used to build computer hardware as well as other digital hardware
products.
• These are tiny electronic circuits that consume very little power and perform operation
dependably, rapidly (speedily), and efficiently. They are often referred to as ICs (Integrated
Circuits).
Logic Gates
• This is a device that controls the flow of information usually in the form of pulses.
Other gates could be derived from the combinations of the three basic gates.
Below are NOR and NAND gates equivalent of the basic operational gates.
1. NOR GATE
Logic Gates Cont’d
2. NAND GATE
(1) XOR Gate Configuration
• Another important gate that is a product of combinations of OR, AND and NOT gates
is known as an Exclusive OR (XOR) gate.
A.B
A.B
F=
(2) XNOR Gate Configuration
• Known as Equality Comparator
Logic Gates Cont’d
Summary of all the Logic Gates
The NAND gate as a Universal Gate
• The NAND gate is known as the universal gate because it can be used to make other types
of gates; hence they are widely available than many other gates.
6.3 Introductions Digital Logic simplification/ minimization Techniques
1) Truth Table: Can be used to minimize Boolean expressions. Its disadvantage is that the
ultimate minimized form is not always available from the table directly. What is available is
the Sum of Product (SOP) or Product of Sum (POS). It also hides circuit information.
2) Boolean algebra: is used to minimize algebraically using Boolean Laws derived from
Boole’s Theorems. Used to simplify complex logic operations.
3) Karnaugh Map (K-Map): is a two dimensional graphical array used for minimizing
VERY complex logic operations in a simple format. It has the same number of cells as the
Truth Table.
Introductions Digital Logic simplification/ minimization Techniques Cont’d
• Both schematics and truth tables take too much space to describe the operation of complex circuits
with numerous inputs.
• The schematic diagram is difficult to use when trying to determine output values for each input
combination.
• Boolean expressions can dramatically simplify logic circuit. A simpler expression that produces the
same output can be realized with fewer logic gates.
• A lower gate count results in cheaper circuitry, smaller circuit boards, and lower power
consumption.
• If any software uses binary logic, the logic can be represented with Boolean expressions. Applying
the rules of simplification will make the software run faster or allow it to use less memory.
Boolean’s Rules
Introductions Digital Logic simplification/ minimization Techniques Cont’d
• Data representation refers to the methods used internally to represent data stored in a
computer.
• Computers use numeric codes in a simple format of 0s and 1s to represent all the
information they store.
Memory Structures in a Computer
In most modern computer systems, individual storage elements are organized into different
groups which are:
Bits - Memory consists of bits (0 or 1). A simple bit can represent two pieces of information.
Nibble - Collection of 4 related bits
Bytes (8 bits) - A byte can represent 256 = (28) pieces of information.
Word (16-bit or 2, bytes) - A word is the largest number of bits the computer can handle in a
single operation.
Character – are symbols (digits, alphabets, spaces and other special symbols found on a
standard keyboard) which combine to make up a word. A character is usually represented by a
byte or a multiple of bytes (256 pieces of information)
Memory Structures in a Computer
Text - Text can be represented easily by assigning a unique numeric value for each
symbol used in the text.
Graphics - A graphic image can be represented by a list of pixels. The pixels are organized
into many rows on the computer screen.
Summary of bit, byte, nibble word and double word
Example: 11101 in binary number system, has the decimal value as indicated below:
NUMBER SYSTEMS Cont’d
It follows that any octal number can be converted to binary by using the above table.
Similarly, to convert a binary digit to octal, we group the binary number into units of 3 digits
(starting from the right to the left).
• Example:
(75)10 converted to octal will give:
75 ÷ 8 = 9 + 3 Remainder
9÷8=1+1 Remainder
1÷8=0+1 Remainder
(75)10 = (113)8
• A big problem with the binary system is verbosity. When dealing with large values, binary
numbers quickly become too unwieldy. The hexadecimal (base 16) numbering system
solves the problems.
• The hexadecimal number system is based on the binary system using a nibble or 4-bit
boundary.
• It includes 0 to 9 and the letters A, B, C, D, E and F, giving rise to the following table:
Summary of Number systems
B10 (Decimal) B2 (Binary) B8 (octal) B16 (Hexadecimal)
0 0000 00 0
1 0001 01 1
2 0010 02 2
3 0011 03 3
4 0100 04 4
5 0101 05 5
6 0110 06 6
7 0111 07 7
8 1000 10 8
9 1001 11 9
10 1010 12 A
11 1011 13 B
12 1100 14 C
13 1101 15 D
14 1110 16 E
15 1111 17 F
3B2 = 1B8. 1B8 = 3B2. 1B16 = 4B2.
REMARKS 4B2 = 1B16 One digit of Octal number is One digit of Hex number is
equivalent to three digits of equivalent to four digits of
Binary number. Binary number.
Hexadecimal Number System (B16) Cont’d
• To convert a hexadecimal number into a binary number; simply break the binary number into
4-bit groups, beginning with the least significant bit
Example: (ABCD)16 = (1010 1011 1100 1101)2
• To Convert Binary to Hex
Break the binary number into four bit sections from least significant bit to the most significant bit.
Convert the four bit binary number to Hex equivalent.
Example
AFB2 = A x 163 + F x 162 + B x 161 + 2 x 160
= (10 x 4096) + 15 x 256 + (11 x 16) + (2 x 1) = (44978)10
Hexadecimal Number System (B16) Cont’d
Example:
(44978)10 to Hex:
Example:
00011010
+ 01001010
= 01100100
2. Subtraction
The rules for binary subtraction
0–0=0
0 – 1 = 1 and borrow 1 from the next more significant bit
1–0=1
1–1=0
Example:
00100101
00010001
00010100
3. Rules of Binary Multiplication
0x0=0
0x1=0
1x0=0
1x1=1
Binary multiplication is the same as repeated binary addition; that is, by adding the
multicand to itself the number of times of the multiplier.
Example:
00001000 x 00000011
00001000 (810)
00001000 (810)
00001000 (810)
00011000 (2410)
8.2 Negative Numbers Representation
Three types
1. Sign and magnitude
For example, using a byte, the one’s complement form of 00101011 (43) is 11010100 (-43).
• A simple way of finding the 2’s complement of a number is to add 1 to its 1’s complement.
• Another way is by examining all the bits from right (LSB) to left (MSB) and
complementing all the bits after the first ‘1’ is encountered.
• 27=128 (128 bit of information hidden + 128 bit visual) = 256bit of information
• 27=128 + 27=128 = 28 = 256 bit information
1. Parity Checking
Physical parts of the computer that we can easily see and touch are called
computer hardware-the tangible part
Computer parts that cannot be seen and touch are called computer software –
the intangible parts
Types of Computer Software
Systems software
• This includes operating systems (OS), Translator and utilities.
Operating System
Multiuser - E.g. UNIX, Windows Network, Linus Network, and End computing
Architectural Layout of the operations of an OS
Types of Computer Software
Utility Software.
Utility software performs the basic operations necessary for the fundamental
performance of the computer system such as creating, copying, saving, deleting, merging
and sorting files.
i. Generic products.
ii. Customized software
• Word Processing Software
• Desktop Publishing Software
• Spreadsheet Software
• Database software
• Presentation software
• Internet Browsers
• Graphics Programs (pixel-based)
• Graphics Programs (vector-based)
• Communications software
THANK YOU
MODULE – 11
Shareware: May be free of charge or the software company may charge a nominal fee. Users
can download these kinds of software from the Internet. Example
Freeware: Software that are given away for free by the vendor/producer
Open Source: The source codes of this software are available to be used, modified and
customized.
Installed Software Vs. Web-Based Software
Installed Software: Software you buy from market or download from the
Internet to your computer.
Web Based Software: Software that are run from the Internet.
Embedding: Allows you to copy and paste part of document from one format (MS Word)
to another (Excel)
Linking: Allows you to create a link between a source format (Excel) and a destination
format (Power Point).
In linking, if the source file data change, the destination data will change.
In embedding, if the source data change, destination data does not change.
THANK YOU
MODULE – 12
Fetch instruction: The processor reads an instruction from memory (register, cache, main
memory).
Interpret instruction: The instruction is decoded to determine what action is required.
Fetch data: The execution of an instruction may require reading data from memory or an
I/O module.
Process data: The execution of an instruction may require performing some arithmetic or
logical operation on data.
Write data: The results of an execution may require writing data to memory or an I/O
module.
How ALU works. How CU works.
Data Flow, Fetch Cycle
i. Fetch Instruction (FI): Read the next expected instruction into
a buffer.
ii. Decode Instruction (DI): Determine the OPCODE and the
operand specifiers.
iii. Calculate Operands (CO): Calculate the effective address of
each source operand. This may involve displacement register
indirect, indirect, or other forms of address calculation.
iv. Fetch Operands (FO): Fetch each operand from memory.
Operands in registers need not be fetched.
v. Execute Instruction (EI): Perform the indicated operation and
store the result, if any, in the specified destination operand
location.
vi. Write Operand (WO): Store the result in memory.
THANK YOU