Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
William Stallings
Computer Organization
and Architecture
9th Edition
Chapter 12
Instruction Sets:
Characteristics and
Functions
Machine Instruction
Characteristics
Elements of a Machine
Instruction
Operation code
(opcode)
Source operand
reference
Specifies the
operation to be
performed. The
operation is specified
by a binary code,
known as the
operation code, or
opcode
Result operand
reference
Next instruction
reference
3) Processor register
2) I/O device
4) Immediate
Instruction Representation
Instruction Types
Arithmetic instructions provide computational
capabilities for processing numeric data
Logic (Boolean) instructions operate on the bits
of a word as bits rather than as numbers, thus
they provide capabilities for processing any
other type of data the user may wish to employ
Data
processin
g
Data
storage
Control
Data
moveme
nt
Number of Addresses
Data types
Instruction format
Registers
Addressing
Instruction length in
bits, number of
addresses, size of
various fields, etc.
Number of processor
registers that can be
referenced by
instructions and their
use
Types of Operands
Ad
s
e
s
s
e
r
d
Ch a r
acte
rs
Num
be
rs
l
a
c
i
Log
Da t a
Numbers
Decimal
Packed decimal
Characters
Logical Data
Table
12.2
+
x86 Data Types
x86 Data
Types
+
Table 12.3
Common
Instruction
Set
Operations
(page 1 of 2)
+
Table 12.3
Common
Instruction
Set
Operations
(page 2 of 2)
Table 12.4
Processor Actions for Various Types of Operations
Data Transfer
Absolute
Negate
Increment
Decrement
Arithmetic
Logical
Instructions
that change
the format
or operate
on the
format of
data
Conversion
An example
is
converting
from
decimal to
binary
Transfer of Control
Branch
Skip
Procedure call
+
Branch
Instruction
Economy
Modularity
Return instruction that returns from the procedure to the place from
which it was called
+
Nested
Procedures
Table 12.8
x86
Operation
Types (With
Examples of
Typical
Operations)
(page 1 of 2)
Table 12.8
x86
Operation
Types (With
Examples of
Typical
Operations)
(page 2 of 2)
Summary
Chapter 12
Machine instruction
characteristics
Instruction Sets:
Characteristics and
Functions
Types of operations
Elements of a machine
instruction
Data transfer
Arithmetic
Instruction representation
Instruction types
Logical
Number of addresses
Conversion
Input/output
System control
Transfer of control
Types of operands
Numbers
Characters
Logical data