CoA Flashcards
refers to those attributes (characteristics) of a system that have a direct impact on the logical execution of a program.
Computer Architecture
is part of the abstract model of a computer that defines how the CPU is controlled by the software.
Instruction Set Architecture (ISA)
is a model of a computer system (considered either as hardware or software) constructed to allow a detailed and precise analysis of how the computer system works.
An abstract model of a machine
There are 2 classifications of ISA
- RISC (Reduced Instruction Set Computer) architecture
- CISC (Complex Instruction Set Computer) architecture
a microprocessor architecture with a simple collection and highly customized set of instructions
Reduced Instruction Set Computer Processor
It means each instruction cycle requires only one clock cycle, and each cycle contains three parameters
fetch, decode and execute
is a memory that uses capacitors to store data. And these capacitors has to constantly and dynamically be refreshed often with electricity inorder for them to store data
DRAM
is what is used in the CPU cache. It is a lot faster than DRAM because it doesn’t have to be constantly refreshed and it is also very expensive.
SRAM
is a CPU internal memory. And its job is to store copies of data and instructions from RAM that’s waiting to be used by the CPU.
CPU cache
For executing each instruction in a computer, the RISC processors require one CPI (Clock per cycle). And each CPI includes the fetch, decode and execute method applied in computer instruction.
One cycle execution time
The pipelining technique is used in the RISC processors to execute multiple parts or stages of instructions to perform more efficiently.
Pipelining technique
RISC processors are optimized with multiple registers that can be used to store instruction and quickly respond to the computer and minimize interaction with computer memory.
A large number of registers
developed by the Intel. It has a large collection of complex instructions that range from simple to very complex and specialized in the assembly language level, which takes a long time to execute the instructions.
Complex Instruction Set Computer
It is an older ISA classification. It tends to use fewer lines of assembly code, each performing multiple steps in multiple clock cycles, making it easier to compile higher-level languages.
Complex Instruction Set Computer
Isthe use of a pipeline
Pipelining
There are 3 forms that a computer represent data
- Number Systems
- Bits and Bytes
- Text codes
is the system of naming or representing numbers.
The number system or the numeral system
is the smallest unit of storage
Bit
unit of information storage
Byte
are typically stored with either 4 or 8 bytes
Integers
occurs when you attempt to store inside an integer variable a value that is larger than the maximum value the variable can hold.
integer overflow
is a format used to represent alphabets, punctuation marks, and other symbols.
Text code
is an 8-bit binary code for numeric and alphanumeric characters. It was developed and used by IBM. In this code, each decimal digit is represented by a 4-bit binary number.
EBCDIC
is a BCD which is representing decimal numbers beyond 9.
Packed BCD
is a code for representing 128 English characters as numbers, with each letter assigned a number from 0 to 127.
ASCII code
is used as a method to give all computers the same language, allowing them to share documents and files.
ASCII
are 8 bits or larger encodings where the first 7 bits are identical to that of ASCII character set.
Extended ASCII
is a version that supports representation of 256 different characters.
Extended ASCII
There are three basic I/O mechanisms that computer systems can use to communicate with peripheral devices:
- memory-mapped input/output
- I/O-mapped input/output
- direct memory access (DMA).
uses ordinary locations within the CPU’s memory address space to communicate with peripheral devices.
Memory-mapped I/O
is connected to the CPU’s address and data lines exactly like regular memory.
memory-mapped peripheral device
isan enhanced version of 8085 Microprocessor that was designed by Intel in 1976.
8086 Microprocessor
The microprocessor cannot do anything by itself therefore, it needs to be linked with memory, extra peripherals, or IO devices. This linking is called
Interfacing
In this kind of interfacing, we assign a memory address that can be used in the same manner as we use a normal memory location.
Memory-Mapped I/O Interfacing
A kind of interfacing in which we assign an 8-bit address value to the input/output devices which can be accessed using IN and OUT instruction is called
I/O Mapped I/O Interfacing
uses an address space separate from memory, and it uses special machine instructions to transfer data between that special I/O address space and the outside world.
I/O-mapped input/output
is a special form of memory-mapped I/O where the peripheral device reads and writes data located in memory without CPU intervention.
Data Memory Access (DMA)
is a unique identifier used by a device or CPU for data tracking. This binary address is defined by an ordered and finite sequence allowing the CPU to track the location of each memory byte.
memory address
isa link between components or devices connected to a computer. It carries data between a CPU and the system memory via the motherboard.
bus
3 Types of buses in a computer
- data bus
- control bus
- address bus
also called a processor bus, is a group of electrical wires that sends information (data) between two or more components.It is a computer bus that is used to transmit data among components.
Data bus
A data bus has 2 types
serialbus andparallelbus
likeUSBandFireWireconnections—use a single wire to both send and receive information between components.
Serial bus
usually refer to the types of cables, ports, and connectors used to connect these types of external devices to computers.
FireWire
like SCSI (scuzzy) connections—use many wires to communicate between components. Those buses may beinternalto the processor orexternal, relative to a given component being connected.
Parallel bus
is a set of standards for physically connecting and transferring data between computers and peripheral devices. The SCSI standards define commands, protocols, electrical, optical and logical interfaces.
Small Computer System Interface
isa computer bus that is used by the CPU to communicate with devices that are contained within the computer. It carries control signals from the processor to other components.
control bus
isa computer bus architecture. It is used to transfer data between devices. It is a computer bus that is used to specify a physical address in the memory.
address bus
are methods used to locate data and instructions in primary memory.
Memory Addressing modes
There are 5 different modes in memory addressing in Assembly language:
- Immediate Memory Addressing Mode
- Direct Memory Addressing Mode
- Indirect Memory Addressing Mode
- Register Memory Addressing Mode
- Implied Memory Addressing Mode
a programming language that communicates with the hardware of a computer directly.
Assembly language
isa term, symbol or name used to define or specify a computing function.
mnemonic
isone of a small set of data holding places that are part of the computer processor. It may hold an instruction, a storage address, or any kind of data (such as a bit sequence or individual characters).
register
is an assembly language used to see how these 5 modes can impact on the output or flow of a program.
LMC (Little Man Computer) assembly language
enable us to provide either a hard-coded value or a memory location for the operand.
Memory address modes
It is the simplest form of addressing. It means that the data to be used is hard-coded into the instruction itself. In this mode we directly transfer the data into the Register or Accumulator.
Immediate Memory Addressing
isa type of register for short-term, intermediate storage of arithmetic and logic data in a computer’s central processing unit (CPU).
Accumulator
it is automatically fetched from memory at the same time the instruction itself is fetched.
immediate operand
In this mode, we directly copy the data from the given address into the register. Whatever the data given in a memory address will be stored into the register or accumulator.
Direct Addressing
is the mnemonic for the opcode (load accumulator A).
LDA
The manner of specification of the target address is called the ______ of the machine language instruction.
addressing mode
In this mode, it lets copy data from one register to other register.
Register Memory Addressing
In this mode, we don’t need any operand. The execution/operation will happen on the data register only. The Accumulator result will have to complement on the initial Accumulator or Register data.
Implied Memory Addressing
refers to the operational units and their interconnections that realize the architectural specifications.
Computer Organization
arethe output of learning and processing block, which are sent to different output interfaces to produce desired output in the real physical world.
Control signals
is a method of generating control signals with the help of Finite State Machines (FSM).
hardwired control unit
Finite State Machine is also known as
Finite Automata (FA)
s the simplest model of computation and it has a very limited memory.
FSM
s the simplest model of computation and it has a very limited memory.
FSM
That edges are called the
transitions
The logical expressions are translated into device structures called
logic gates
Is both a symbolic representation of a logical operation and, when used in digital electronics, it can be an actual circuit in hardware.
logic gates
is a way to see all possible conditions for the variables in a logical expression and to chart the results.
truth table
inverse (NOT) of a conjunction (AND) is logically equivalent to the disjunction (OR) of two inverses (NOT)
De Morgan’s Theorem
is a component in the processor that generates the control signals that are essential to control the proper functioning of the processor.
control unit
uses the software approach to generate the control signals.
microprogrammed control unit
holds a machine instruction that is currently being executed. It holds the currently queued instruction for use.
instruction register
determines the address sequence that is read from control memory.
Microprogrammed address generator
isused to cycling the sequence of control.
microprogram counter
is the part of a CPU’s control unit that stores the CPU’s microprogram.
control store
a device that generates addresses in a microprogram.
microsequencer
A control store implementation whose contents are unalterable is known as a
Read Only Memory or Read Only Storage
one whose contents are alterable is known as a
Writable Control Store
are used to identify the nature of operation.
control signals
This signal indicates that the selected IO or memory device is to be read and is ready for accepting data available on the data bus.
RD(Read)
This signal indicates that the data on the data bus is to be written into a selected memory or IO location.
WR (Write)
It is a positive going pulse generated when a new operation is started by the microprocessor. When the pulse goes high, it indicates address. When the pulse goes down it indicates data. It is used to enable or disable theaddress bus.
ALE (Address Latch Enable)
isthe measurement of the length of time that data is being worked on by the processorand is used as an indicator of how much processing is required for a process or how CPU intensive a process or program is.
CPU time
arethe output of learning and processing block, which are sent to different output interfaces to produce desired output in the real physical world
Control signals
is where the control signals are represented in the decoded binary format that is 1 bit/CS.
Horizontal Micro-instruction
The control signals are represented in the
encoded binary format
The control signals are represented in the
encoded binary format
show paths that data flows while passing through the computer.
Solid lines