Article Categories
- All Categories
-
Data Structure
-
Networking
-
RDBMS
-
Operating System
-
Java
-
MS Excel
-
iOS
-
HTML
-
CSS
-
Android
-
Python
-
C Programming
-
C++
-
C#
-
MongoDB
-
MySQL
-
Javascript
-
PHP
Network Articles
Page 39 of 66
How to Address Mapping using Pages in Computer Architecture?
The table execution of the address mapping is interpreted if the data in the address space and the memory space are each split into a collection of fixed sizes. The physical memory is broken down into sets of similar size known as blocks, which can range from 64 to 4096 words each. The term page defines a set of address spaces of a similar size.Example − Suppose a page or block consists of 1K words, then address space can be divided into 1024 pages and main memory can be divided into 32 blocks.Even though both a page and a block ...
Read MoreWhat is the relationship between Address and Memory Space in a Virtual Memory System?
Addresses that are used by programmers are known as virtual addresses, and the set of such addresses is known as the address space. Space or spot where the address is saved in the main memory is referred to as location or physical address and the set of such locations is known as the memory space.Therefore, the address space is the set of addresses generated by programs as they reference instructions and data. The memory space holds the actual main memory locations that are directly addressable for processing.Example − Consider, main-memory having a capacity of 32K words (K = 1024). 15 ...
Read MoreDiscuss the Associative Mapping in Computer Architecture?
In the associative mapping function, any block of main memory can probably consist of any cache block position. It breaks the main memory address into two parts - the word ID and a tag as shown in the figure. To check for a block stored in the memory, the tag is pulled from the memory address and a search is performed through all of the lines of the cache to see if the block is present.This method of searching for a block within a cache appears like it might be a slow process, but it is not. Each line of ...
Read MoreWhat is Associative Memory?
An associative memory can be treated as a memory unit whose saved information can be recognized for approach by the content of the information itself instead of by an address or memory location. Associative memory is also known as Content Addressable Memory (CAM).The block diagram of associative memory is shown in the figure. It includes a memory array and logic for m words with n bits per word. The argument register A and key register K each have n bits, one for each bit of a word.The match register M has m bits, one for each memory word. Each word ...
Read MoreDiscuss the Memory Hierarchy in Computer Architecture?
The memory unit is an important component in any digital computer since it is required for saving programs and information. A very small computer with limited software can fulfill its intended function without the requirement for additional storage capacity.There is only not limited space in one memory unit to contain all the programs used in an ordinary computer. Further, various computer users acquire and continue to acquire huge amounts of data-processing software. It is not all acquired data that is required by the processor at an equal time. Hence, it is more cost-effective to use low-cost storage devices to distribute ...
Read MoreWhat is DMA?
DMA represents Direct Memory Access. It is a hardware-controlled data transfer technique. An external device is used to control data transfer. The external device generates address and control signals that are required to control data transfer. External devices also allow peripheral devices to directly access memory. The external device which controls the data transfer is called the DMA controller.DMA Idle CycleWhen the system is turned on, the switches are in position A. The processor starts implementing the program until it requires to read a block of information from the disk. The disk processor transfers a sequence of commands to the ...
Read MoreDiscuss the Single Level Interrupts in Computer Architecture?
In single level interrupts, many devices can interrupt the processor at the same time to attend to their requests. But all the devices raise requests through a single input pin of the CPU. When interrupted, the CPU must identify the device that raised the request. Once the I/O port is identified, the CPU attends to the request of I/O device and then continues to carry out the task that it was performing before being interrupted.In single-level interrupts, interrupt requests from all the devices are logically ORed and connected to the interrupt input of the processor. Hence, the interrupt request from ...
Read MoreDiscuss the Data Transfer Schemes in Computer Architecture?
In data transfer schemes, it can provide an efficient means of transmitting data between the processing unit and the I/O devices. In a computer, the data transfer happens between any of these combinations CPU and memory, CPU and I/O devices, and memory and I/O devices.A computer is interfaced with many devices of different speeds. Therefore, I/O devices may not be ready to transfer data as soon as the microprocessor issues the instruction for this purpose. Many data transfer schemes have been developed to solve this problem.Classification of Data Transfer SchemesThe data transfer schemes have been broadly classified into two categories ...
Read MoreWhat is ASCII Alphanumeric Characters in Computer Architecture?
ASCII represents American Standard Code for Information Interchange. It is the standard binary code used to represent alphanumeric characters. Alphanumeric characters are used for the transfer of information to and from the I/O devices and the computer. This standard helps seven bits to code 128 characters. However, there is an additional bit on the left that is always assigned 0. Therefore, there are 8 bits in total.The ASCII code consists of 34 nonprinting characters and 94 characters used for various control operations. There are 26 uppercase letters A through Z, 26 lowercase letters a through z, numerals from 0 to ...
Read MoreWhat is Booth Multiplication Algorithm in Computer Architecture?
The Booth multiplication algorithm defines a multiplication algorithm that can multiply two signed binary numbers in two’s complement. This algorithm helps in the study of computer architecture.Booth’s algorithm contains the addition of one of two predetermined values (A and S) to a product (P) continually and then implementing a rightward arithmetic shift on the product (P). Let us consider the predetermined values to be A and S, and the product to be P. Consider that the multiplicand and multiplier are m and r respectively. Let the number of bits in m and r be x and y respectively.The Booth’s multiplication ...
Read More