Malik Hamad Assignment 1
Malik Hamad Assignment 1
ASSIGNMENT # 01
Session (2023-2027)
Program
{Bachelor of Studies in Computer Science}
x86 ARCHITECTURE
Assembly Language and Computer Architecture: Key Concepts
•
Memory Access Modes: The x86 supports direct, indirect, and
immediate
addressing, providing flexibility in accessing and manipulating data in
memory.
Strengths:
Broad Software: Extensive use across operating systems, with
• Support consistent
support from software and hardware vendors.
Page | 1
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
• Optimized Performance: The architecture’s design allows for
effective handling of
Page | 2
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
complex operations, making it suitable for high-performance
applications.
Limitatio :
ns
Power- : Consumes more power than streamlined
• Intensi architectures, like RISC.
ve
• Complexity
in
Development
complexity and sometimes i m: x86’s intricate structure increases
development optimization.
Advantag :
es
Page | 3
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
Learnin : y86’s streamlined design makes it suitable for
• g- learning the basics
Friendl
y
of computer architecture and assembly programming.
Compatibility
Broad, compatible with legacy software Limited to educational
Scope
applications
Page | 4
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
Block Diagram :
A simplified block diagram of the x86 architecture typically
includes the following key components:
• Control Unit (CU): Manages and coordinates the
overall operation of the CPU.
• Arithmetic Logic Unit (ALU): Performs arithmetic and
logical operations on data.
Page | 5
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
• Registers: Provide temporary storage for data and
instructions during processing.
• Memory Interface: Handles the communication between
the CPU and main memory.
• Cache: Stores frequently accessed data and instructions for
faster access.
• I/O Ports: Facilitate input and output operations between the
CPU and peripheral devices.
y86 ARCHITECTURE
Block Diagram :
A simplified block diagram of the y86 architecture typically
includes the following key components:
• Fetch Unit: Responsible for fetching instructions from
memory.
• Decode Unit: Decodes the fetched instructions to
identify the operation to be performed.
• Execute Unit: Executes the decoded instructions, typically
featuring a simplified ALU for arithmetic operations.
• Memory Unit: Handles the reading and writing of data to
and from memory.
• Registers: Provide temporary storage for instructions and
Page | 6
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
data during pr
IA 16-bit Architecture
A Look at IA 16-bit and IA 32-bit Architectures
Introduction to IA 16-bit
processor designs.
16-bit : Processes data in 16-bit chunks, enhancing data
•
handling
Data Handling
compared to 8-bit models.
Page | 8
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
support, making it less suitable for complex applications
today.
Advancements in IA 32-
bit
IA 32-bit introduced a flat
With the Intel 80386,
the architecture
memory management.
• Enhanced Processing Power: The 32-bit data bus and extended
register set support complex tasks more effectively, enabling
faster computations.
systems.
Page | 9
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
Limitations :
Memory Cap in Modern: The 4 GB limit is restrictive for applications
today,
• Use as
Page |
10
(Assignment- CS-210) Roll # : ( 301-231085 ) Malik Hamad Nawaz
many demand more memory.
Page |
12