Pre-study: Comp architecture | Assembly Lang (x86) Flashcards
whereas utilization happens to be the attribute of organization
now a generic computer is comprised of various functional units
amongst them the processor is the most important one
the processor itself is a collection of register section and arithmetic and
logic unit also known as alu and a timing and
control unit along with these it also has another
section called interface
processor
the brain of the system
memory
stores all
the instructions reading ways the processor works
accordingly also we can store data inside the memory another
functional unit is the input output peripheral
now the term peripheral is just a fancy version of device
all of these are very essential when computation involving computers
are concerned so the programs or the set of instructions are stored into the
memory using input devices so that the
processor can execute them during execution the required inputs can
either be fed into the system using the same input peripherals or
stored into the memory beforehand
outputs can be generated onto the output devices or else can be
stored into the _________________________________________.
memory for later extraction the
intercommunication of all these functional components is
carried out with the help of system bus
two predominant approaches to the architecture that influence how computer processors function.
Complex instruction set computer (CISC) and reduced instruction set computer (RISC)
CISC
processors have one processing unit, auxiliary memory, and a tiny register set containing hundreds of unique commands. These processors execute a task with a single instruction, making a programmer’s work simpler since fewer lines of code are required to complete the operation. This method utilizes less memory but may need more time to execute instructions.
A reassessment led to the creation of high-performance computers based on the _____ architecture. The hardware is designed to be as basic and swift as possible, and sophisticated instructions can be executed with simpler ones.
RISC
Purpose of computer architecture
Everything a system performs, from online surfing to printing, involves the transmission and processing of numbers. A computer’s architecture is merely a mathematical system intended to collect, transmit, and interpret numbers.
Data in numbers
The computer stores all data as numerals. When a developer is engrossed in machine learning code and analyzing sophisticated algorithms and data structures, it is easy to forget this.
Manipulating data
The computer manages information using numerical operations. It is possible to display an image on a screen by transferring a matrix of digits to the video memory, with every number reflecting a pixel of color.
Multifaceted functions
The components of a computer architecture include both software and hardware. The processor — hardware that executes computer programs — is the primary part of any computer.
Booting up
At the most elementary level of a computer design, programs are executed by the processor whenever the computer is switched on. These programs configure the computer’s proper functioning and initialize the different hardware sub-components to a known state. This software is known as firmware since it is persistently preserved in the computer’s memory.
Support for temporary storage
Memory is also a vital component of computer architecture, with several types often present in a single system. The memory is used to hold programs (applications) while they are being executed by the processor and the data being processed by the programs.
support for permanent storage
There can also be tools for storing data or sending information to the external world as part of the computer system. These provide text inputs through the keyboard, the presentation of knowledge on a monitor, and the transfer of programs and data from or to a disc drive.
User-facing functionality
Software governs the operation and functioning of a computer. Several software ‘layers’ exist in computer architecture. Typically, a layer would only interface with layers below or above it.
Depending on the method of categorization, the parts of a computer architecture can be subdivided in several ways. The main components of a computer architecture are the CPU, memory, and peripherals. All these elements are linked by the system bus, which comprises an address bus, a data bus, and a control bus. Within this framework, the computer architecture has eight key components
- Input unit and associated peripherials
- Output unit and associted peripherals
- Storage unit/ memory
- Central Processing Unit (CPU)
- Operating system (OS)
Input unit and associated peripherals
The input unit provides external data sources to the computer system. Therefore, it connects the external environment to the computer. It receives information from input devices, translates it to machine language, and then inserts it within the computer system. The keyboard, mouse, or other input devices are the most often utilized and have corresponding hardware drivers that allow them to work in sync with the rest of the computer architecture.
Output unit and associated peripherals
The output unit delivers the computer process’s results to the user. A majority of the output data comprises music, graphics, or video. A computer architecture’s output devices encompass the display, printing unit, speakers, headphones, etc.
To play an MP3 file, for instance, the system reads a number array from the disc and into memory. The computer architecture manipulates these numbers to convert compressed audio data to uncompressed audio data and then outputs the resulting set of numbers (uncompressed audio file) to the audio chips. The chip then makes it user-ready through the output unit and associated peripherals.
Storage unit/memory
The storage unit contains numerous computer parts that are employed to store data. It is typically separated into primary storage and secondary storage.
RAM
supplies the necessary information straight to the CPU. It is a temporary memory that stores data and instructions intermittently.
ROM
memory type that contains pre-installed instructions, including firmware. This memory’s content is persistent and cannot be modified. ROM is utilized to boot the machine upon initial startup. The computer is now unaware of anything outside the ROM. The chip instructs it on how to set up the computer architecture, conduct a power-on self-test (POST), and finally locate the hard drive so that the operating system can be launched.
Secondary storage unit
inaccessible directly to the CPU. Before the CPU uses secondary storage data, it must be transferred to the main storage. Secondary storage permanently retains vast amounts of data. Examples include hard disk drives (HDDs), solid-state drives (SSDs), compact disks (CDs), etc.
CPU
includes registers, an arithmetic logic unit (ALU), and control circuits, which interpret and execute assembly language instructions. The CPU interacts with all the other parts of the computer architecture to make sense of the data and deliver the necessary output.