Computer Organization with Assembly Language
A digital computer is a fast electronic calculating machine that accepts digitized input information, processes it according to a list of internally stored instructions, and produces the resulting output information.
Types of Computers:
1. Personal Computers
Basic Operation of a Computer
1. The computer accepts information in the form of programs and data through an input unit and stores it in memory.
2. Information stored in the memory is fetched, under program control, into an arithmetic and logic unit, where it is processed.
3. Processed information leaves the computer through an output unit.
4. All activities inside the machine are directed by the control unit.
Computer Organization and Architecture:
It refers to the operational units and their interconnections that realize the architectural specifications.
Hardware details transparent to the programmer
Interfacing device to computer
It refers to those attributes of a system visible to programmer or that have direct impact on the logical execution of a program.
Number of bit that represent various data types
Input and output mechanism
16 BIT SAP -1 (speed, cost, physical and capacity)
Structure and Function:
Is a set of inter related subsystems and each level consists of a set of components concern with structure and function with a top down approach:
Structure – The way in which the components are inter related
Functions – The operation of each individual component as part of the structure
The basic functions that a computer can perform in terms of data processing, data storage, data movement and control:
(Source and Destination of Data)
Data Movement Apparatus
Data Storage Facility
Data Processing Facility
Functional View of the Computer
The computer must be able to process data in a wide variety of forms and the range of processing requirements with a few fundamental methods or types of data processing. The data come in and get processed and the result go out immediately Store Data:
The computer must temporarily store at least those pieces of data that are being worked on at any given moment. There is at least a short term data storage function and a long term
Functional Units of a Computer:
Assembly language is a set of words that tells the computer what to do. The words in the assembly language, instruction set that refers to the computer components directly Registers:
It is used to control the instructions being executed to handle addressing of memory and to provide an arithmetic capability The register is addressable by name
AH – AL
BH – BL
CH – CL
DH - DL
General Purpose Register:
1. AX Register
The primary accumulator is used for operation involving input/output and most arithmetic 2. BX Register
Known as a Base Register since it is the only general purpose register that can be used as an index to external addressing and another common purpose is for computation 3. CX Register
Known as the count registers. It may contain a value to control the number of times a loop is repeated or a value to shift bits from left or right. The CX is also used in computation 4. DX Register
Known as the data register, since...
Please join StudyMode to read the full document