Professional Documents
Culture Documents
Instruction Cycle
A program consisting of the memory unit of the computer includes a series of
instructions. The program is implemented on the computer by going through a cycle for
each instruction.
In the basic computer, each instruction cycle includes the following procedures −
After the following four procedures are done, the control switches back to the first step
and repeats the similar process for the next instruction. Therefore, the cycle continues
until a Halt condition is met. The figure shows the phases contained in the instruction
cycle.
As display in the figure, the halt condition appears when the device receive turned off,
on the circumstance of unrecoverable errors, etc.
Fetch Cycle
Next, the PC is incremented to display the address of the next instruction. This
instruction is loaded onto the instruction register. The processor reads the instruction
and executes the important procedures.
Page 2 of 6
Execute Cycle
The data transfer for implementation takes place in two methods are as follows −
In the execute cycle, the processor implements the important operations on the
information, and consistently the control calls for the modification in the sequence of
data implementation. These two methods associate and complete the execute cycle.
The figure provides a large aspect of the instruction cycle of a basic computer, which is
in the design of a state diagram. For an instruction cycle, various states can be null, while
others can be visited more than once.
Representation of Data/Information
Computer does not understand human language. Any data, viz., letters, symbols,
pictures, audio, videos, etc., fed to computer should be converted to machine language
first. Computers represent data in the following three forms −
Number System
Number System
System Base Digits
Binary 2 01
Octal 8 01234567
Decimal 10 0123456789
Hexadecimal 16 0123456789ABCDEF
Bits − A bit is a smallest possible unit of data that a computer can recognize or use.
Computer usually uses bits in groups.
Bytes − group of eight bits is called a byte. Half a byte is called a nibble.
Page 4 of 6
1 Byte 8 Bits
1024 Bytes 1 Kilobyte
Text Code
Text code is format used commonly to represent alphabets, punctuation marks and
other symbols. Four most popular text code systems are −
• EBCDIC
• ASCII
• Extended ASCII
• Unicode
EBCDIC
Extended Binary Coded Decimal Interchange Code is an 8-bit code that defines 256
symbols. Given below is the EBCDIC Tabular column
Page 5 of 6
ASCII
American Standard Code for Information Interchange is an 8-bit code that specifies
character values from 0 to 127.
Extended ASCII
Extended American Standard Code for Information Interchange is an 8-bit code that
specifies character values from 128 to 255.
Unicode