Computer Architecture 4
Computer Architecture 4
Assignment No #04
Submitted By:
Muhammad Soban Rasheed
Roll Number:
FA20-BCS-020
Submitted To:
Sir Biktash Ali
Section:
BCS ‘4A’
Explain the following
1) ADDRESSING MODES:
The addressing mode is the used to specify the instruction of an
operand by information in an register. The job is to execute a set of instructions that is stored in
memory to perform a specific task. Operations require the following:
The opcode which determines the data to be used in an operation and how complex instruction
should be what will be done.
Example:
If we wanted to add the numbers or any operation 1 and 2 and get a result, mathematically we
would likely write this as 1 + 2. In this case, our operator is (+), or the addition, and our operands are the
numbers 1 and 2.
2) X86 addressing modes:
Advantages Disadvantages
Because condition codes are set by Condition codes add complexity, both
normalarithmetic and data movement tothe hardware and software. Condition
instructions,they should reduce the codebits are often modified in different
number ofCOMPARE and TEST waysby different instructions, making life
instructions needed moredifficult for both the
microprogrammerand compiler writer.
Conditional instructions, such as Condition codes are irregular they are
BRANCHare simplified relative to typically not part of the main data
compositeinstructions, such as TEST So required extra space in hardware.
ANDBRANCH.
Condition codes can be saved on the In a pipelined implementation,
stackduring subroutine calls along with conditioncodes require special
otherregister information. synchronization toavoid conflicts.
5) Parallel processing:
Types:
Multithreading(Implicit):
A programmer that writes the implicitly parallel of code does not
need to worry abou thet task division or the process communication, focusing instead on
the problem program is intended to solve. Implicit threading is characterized by using
a Parallel.
Multithreading(explicit):
programming with Multithreading (explicit) is often difficult,
especially for non computing specialists, because of the extra work involved in planning the
task division and synchronization of concurrent processes. Explicit threading involves
creating, starting, and joining threads while also calculating chunk sizes, calling the worker
function.
9) Clusters:
Cluster computing refers that several of the computers connected on a network and
that they perform sort of a single entity. Every laptop that connected to the network is
termed a node. Cluster computing offers solutions to unravel difficult issues by
providing quicker machine speed, and increased information integrity. The connected
computers execute operations all at once therefore making the impression sort of a single
system virtual machine. This method is termed as transparency of the system.
Cloud Computing:
Cloud computing refer to online domain delivery over the internet ..We use cloud
computing instead of local storage device because Cloud Computer allows you to pay how much you
use. Cloud Computing allows your data to be more secure.
Benefits:
Costs
Speed
Productivity
Global Scale
Performance
Reliability
Security
THE END…!