SlideShare a Scribd company logo
Microprocessor-Based Systems
Dr. Randa Elanwar
Lecture 5
Lecture Content
• RISC and CISC architectures
• External memory
– memory segmentation
– memory address decoding
– Instruction codes
• Application examples
2Microprocessor-Based Systems Dr. Randa Elanwar
Microprocessor bus architecture and
instruction sets
3Microprocessor-Based Systems Dr. Randa Elanwar
As we have seen so far: The
execution unit of the
microprocessor (EU) has 8
general purpose registers
working as temporary storage
(i.e., internal memory): AH, AL,
BH, BL, CH, CL, DH and DL. They
can be used individually (8 bit
mode) or in couples (16 bit
mode)
AL register is called the
accumulator. It has some extra
features not found in others.
The data stored in these registers
(internal memory) is accessed
much more quickly than being
accessed if it is stored in the
external memory
RISC vs. CISC
• An important aspect of computer architecture is the design of the
instruction set for the processor.
• The instruction set chosen for a particular computer determine
the way that machine language programs are constructed.
• Early computers had small and simple instruction sets, forced
mainly by the need to minimize the hardware used to implement
them.
• A computer with a large number of instructions is classified as a
Complex Instruction Set Computer, abbreviated CISC.
• In the early 1980s, a number of computer designers
recommended that computers use fewer instructions with simple
constructs so they can be executed much faster within the CPU
without having to use memory as often. This type of computer is
classified as a Reduced Instruction Set Computer or RISC.
4Microprocessor-Based Systems Dr. Randa Elanwar
RISC vs. CISC
• The essential goal of a CISC architecture is to attempt to provide a
single machine instruction for each statement that is written in a
high-level language, in other words, try to be in almost no need of
a compiler.
• The translation from high-level programming language to machine
language programs is done by means of a compiler program.
• The major characteristics of CISC architecture are:
• 1. A large number of instructions-typically from 100 to 250
instructions
• 2. Some instructions that perform specialized tasks and are used
infrequently
• 3. A large variety of addressing modes-typically from 5 to 20
different modes
• 4. Variable-length instruction formats
• 5. Instructions that manipulate operands in memory
5Microprocessor-Based Systems Dr. Randa Elanwar
RISC vs. CISC
• The concept of RISC architecture involves an attempt to
reduce execution time by simplifying the instruction set
of the computer.
• The major characteristics of a RISC processor are:
• 1. Relatively few instructions
• 2. Relatively few addressing modes
• 3. Memory access limited to load and store instructions
• 4. All operations done within the registers of the CPU
• 5. Fixed-length, easily decoded instruction format
• 6. Single-cycle instruction execution
• 7. Hardwired rather than microprogrammed control
6Microprocessor-Based Systems Dr. Randa Elanwar
RISC vs. CISC
• A characteristic of RISC processors is their ability to execute
one instruction per clock cycle. This is done by overlapping
the fetch, decode and execute phases of two or three
instructions by using a procedure referred to as pipelining.
• Other characteristics attributed to RISC architecture are:
• 1. A relatively large number of registers in the processor unit
• 2. Efficient instruction pipeline
• 3. Compiler support for efficient translation of high-level
language programs into machine language programs.
7Microprocessor-Based Systems Dr. Randa Elanwar
External memory
• The external memory (outside the microprocessor) is composed of
a large number of registers.
• If the memory has 4000 8-bits storage locations for example, it is
referred to as 4K byte memory.
• The number of memory locations the can be addressed by the
microprocessor is determined by the number of address lines it
has.
• If the microprocessor 16 address lines bus (A0 to A15) it can address
up to 216 locations (26*210) = 64K byte memory.
8Microprocessor-Based Systems Dr. Randa Elanwar
Memory address (Bin) (Hex) Stored data (Bin) (Hex)
0000 0000 0000 0000 0000 0010 1011 2B
…. …. …. …. …. …. …. ….
…. …. …. …. …. …. …. ….
1111 1111 1111 1111 FFFF 0000 0010 02
Memory Address decoding
• Decoders have n-inputs and 2n outputs, each input
combination results in a single output line having a 1, all
other lines have a 0 on the output.
• The memory decoder is connected to the CPU by the address
bus.
• Each memory cell is connected to an input and output data
bus, a read/write control, and the decoder which enables the
memory cell when the appropriate address appears.
• The decoder ensures that only a single memory cell is
activated at a time for either input or output.
9Microprocessor-Based Systems Dr. Randa Elanwar
Memory Address decoding
10Microprocessor-Based Systems Dr. Randa Elanwar
•A Integrated circuit of a 64KB memory
has 16 pins to address locations 0000 
FFFF
•Thus a 20 address bits microprocessor
can address 1MB memory, i.e., 16
memory ICs of 64KB capacity.
•It uses 4x16 decoder to select between
the 16 ICs. The address lines A0 to A15 are
used to address locations within 1
memory bank
•The address lines A16 to A19 are used to
select between the 16 ICs (most
significant nibble). I.e., 00000  FFFFF
0 0000
.
0 FFFF
1 0000
.
1 FFFF
2 0000
.
2 FFFF
3 0000
.
3 7FFF
3 8000
.
3 FFFF
.
A 0000
.
A FFFF
.
F 0000
.
F FFFF
64KB
64KB
64KB
64KB
64KB
32KB
32KB
Memory Address decoding
• If two Integrated circuit of a 32KB memory are used instead of a
single Integrated circuit of a 64KB memory, the A15 address bit is
used to select between them.
11Microprocessor-Based Systems Dr. Randa Elanwar
8088
0 0000
0 FFFF
64KBA0
.
A15
MEMR
MEMW 1 0000
1 FFFF
64KB
2 0000
2 FFFF
64KB
3 0000
3 7FFF
32KB
3 8000
3 FFFF
32KB
4x16
decoder
A16
.
A19
A15 A15
0
1
2
.
F
CS CS
CS CS
8088 address bus and Memory
segmentation
• 8086 microprocessor has 16 bit internal bus and 16 bit external bus.
• 8088 microprocessor has 16 bit internal bus and 8 bit external bus.
12Microprocessor-Based Systems Dr. Randa Elanwar
Control Logic
Creates the
addresses
8088
microprocessor
Data bus
Memory
holds data and
instructions
Address lines
MEMR
MEMW
8088 address bus and Memory
segmentation
• All memory locations are connected on the common bus such that
only one location can output its content on the bus and all ALSU
structure is isolated (i.e., only one location at a time).
• The memory locations addresses are usually included in arithmetic
operations (specially INC operation).
• The 20 address lines give out address of 5 hex digits (00000 
FFFFF).
• If address lines has 00000 and MEMR is low, then the first memory
location is selected to output its content on the bus.
• Programs (instructions sequence) stored in memory are coded in
binary/hex format to be transmitted on the data bus to the
microprocessor EU so that it can be decoded and executed
13Microprocessor-Based Systems Dr. Randa Elanwar
Instruction codes
• Instruction Operation
• INC r16 increments the content of a 16 bit register,
r16 represent the register name
• Example:
• INC AX  Code: 0100 0000  Hex: 40
• INC SI  Code: 0100 0110  Hex: 46
14Microprocessor-Based Systems Dr. Randa Elanwar
Register 16 bit
mode
8 bit
mode
000 AX AL
001 CX CL
010 DX DL
011 BX BL
100 SP AH
101 BP CH
110 SI DH
111 DI BH
0 1 0 0 0
INC instruction code
Register name code
Instruction codes
• Instruction Operation
• INC r8 increments the content of a 8 bit register,
r8 represent the register name
• Example:
• INC AL  Code: 1111 1110 1100 0000  Hex: FEC0
• INC AH  Code: 1111 1110 1100 0110  Hex: FEC4
• Instruction codes can consist of one, two, three or four bytes.
15Microprocessor-Based Systems Dr. Randa Elanwar
1 1 0 0 0
INC instruction code
Register name code
1 1 1 1 1 1 1 0
Instruction codes
• MOV AL, [2FB70]
– This instruction reads the content of the memory location address
2FB70 and stores them in AL
– The content of the memory location address is 1 byte (2 hex digits).
– Address lines will hold: 0010 1111 1011 0111 0000
• MOV [2FB70], AL
– This instruction writes the content of AL into the memory location
address 2FB70
• If we want to write a part of a program into the memory:
16Microprocessor-Based Systems Dr. Randa Elanwar
Memory Address Content
2B37E FE
2B37F C4
2B380 46
Data or instruction
INC AH
INC SI
Instruction codes
• Question: How does the microprocessor knows if the
instruction consists of more than one byte?
• Answer: The microprocessor memory addressing is
performed in 3 main steps: Fetch-Decode-Execute
• The CPU fetches and executes 1 instruction at a time.
– Thus it needs some register to hold the memory location address
containing the current instruction being executed  we call it
instruction pointer (IP).
– if the instruction is composed of more than 1 byte there should be
registers to hold the instruction codes to be decoded and executed
simultaneously  we call them instruction registers (IR).
17Microprocessor-Based Systems Dr. Randa Elanwar
Instruction codes
18Microprocessor-Based Systems Dr. Randa Elanwar
Control Logic
Creates the
addresses
8088
microprocessor
Data bus
Memory
holds data
and
instructionsAddress
lines
MEMR
MEMW
IR1 IR0
…
IP
IR4
1. The IP register content is output
on the address lines
2. The control logic activates the
read signal (MEMR is low)
3. The control logic clocks IR0 and
stores the instruction first byte
4. The control logic reads the
output of IR0 and determines
whether or not the instruction is
complete
5. If the instruction is not yet
complete, IP is incremented
6. When the instruction is
complete, the CPU checks the
instruction table, decodes the
instruction and executes it by
operating ALSU
Memory segmentation, address decoding
and direct access
• Since the IP is being incremented during program execution, this
means that the memory location address is involved in arithmetic
operations in ALSU. The problem is the address is composed of 20
bit and ALSU works on 16 bit data.
• To solve this problem:
– Memory is divided to equal parts of size 64K bytes called “segments”
– Each location address is defined by two parts: start point and offset
– Memory location  Segment:offset
– Example: let segment be 23B5, offsets are 0000 and FFFF
19Microprocessor-Based Systems Dr. Randa Elanwar
Start 23B50 Start 23B50
+ +
Offset 0000 Offset FFFF
Address 23B50 Address 33B4F
Written as 2000:3B50 Written as 3000:3B4F
Memory segmentation, address decoding
and direct access
• Now it is easy to perform arithmetic operations on the address.
• Example:
• We have four segment registers in the BIU are used to hold the
upper 4 bytes of the address:
– CS: Code segment register
– SS: Stack segment register
– ES: Extra segment register
– DS: Data segment register
20Microprocessor-Based Systems Dr. Randa Elanwar
Memory Address Content Seg:offset
2B37E FE 2000:B37E
2B37F C4 2000:B37F
2B380 46 2000:B380
Memory segmentation, address decoding
and direct access
• The BIU always insert zeros for the lowest nibble of the 20 bit
starting address for a segment.
21Microprocessor-Based Systems Dr. Randa Elanwar
Register
Name
Code Segment
(CS)
Stack Segment
(SS)
Extra Segment
(ES)
Data Segment
(DS)
Functio
n
Holds the
upper 16 bits
of the starting
address for
the segment
from which
the BIU is
currently
fetching
instruction
codes
Holds the upper
16 bits of the
starting address
for the program
stack (Stack
stores program
addresses and
data while
subprogram
executes)
Holds the upper
16 bits of the
starting address
for the memory
segment used
for data storage
Holds the upper
16 bits of the
starting address
for the memory
segment used
for data storage
Memory segmentation, address decoding
and direct access
22Microprocessor-Based Systems Dr. Randa Elanwar
CS
DS
ES
SS
IP
T3
BP
SP
Segment
registers
(16 bits)
Offset
registers
(16 bits)
MUX MUX
HA HA HA HA FA FA HA…
20 bit address latch
44444444
444 44
c c c c c
A0
.
.
A19
8088
microprocessor F0000-FFFFF
E0000-EFFFF
D0000-DFFFF
C0000-CFFFF
B0000-BFFFF
A0000-AFFFF
90000-9FFFF
80000-8FFFF
70000-7FFFF
60000-6FFFF
50000-5FFFF
40000-4FFFF
30000-3FFFF
20000-2FFFF
10000-1FFFF
00000-0FFFF
20 address lines  220 bytes 
24+6+10
16 segments of external
memory, each is 64K bytes
Memory segmentation, address decoding
and direct access
• The micro-operations of memory access:
• Example: MOV AH, [BX]
– BX contains the offset only since DS has the segment start
point
1. BX content is moved to T3
2. MUX is activated to add T3 and DS
3. The physical address comes out
4. MEMR signal goes low
5. The CLKAH goes low
23Microprocessor-Based Systems Dr. Randa Elanwar
Memory segmentation, address decoding
and direct access
• The micro-operations of memory access:
• Example: MOV AH, [BX+SI-17]
1. BX content is added to SI and result is moved to T1
2. 17 is complemented and added to T1 and result is moved
to T3 (now we have the offset)
3. MUX is activated to add T3 and DS
4. The physical address comes out
5. MEMR signal goes low
6. The CLKAH goes low
24Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• Write a program to add a data byte located at offset 0500H in
2000H segment to another data byte available at 0600H in
the same segment and store the result at 0700H in the same
segment
25Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• As the immediate data cannot be loaded into a segment register, the
data is transferred to one of the general purpose resistors, say AX.
and then the register general purpose registers, say AX, and then the
register content is moved to the segment register DS. Thus the data
segment register DS contains 2000H.
• The instruction MOV AX,[500H] signifies that the contents of the
particular location, whose offset is specified in the brackets with the
segment pointed to by DS as segment register, is to be moved to AX.
• The MOV [0700], AX instruction moves the contents of the register
AX to an offset 0700H in DS (DS = 2000H).
26Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• Write a program to move the contents of the memory location
0500H to register BX and also to CX. Add immediate byte 05H to
the data residing in memory location, whose address is computed
using DS=2000H and offset=0600H. Store the result of the addition
in 0700H. Assume that the data is located in the segment specified
by the data segment register which contain 2000H.
27Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• The immediate data byte 05H is added to content of 0600H using the ADD
instruction. The result will be in the destination operand 0600H. This is next stored
at the location 0700H.
• In case of the 8086/8088 instruction set, there is no instruction for the direct
transfer of data from the memory source operand to the memory destination
operand except, the string instructions.
• Hence the result of addition which is present at 0600H, should be moved to any
one of the general purpose registers, except BX and CX, otherwise the contents of
CX and BX will be changed (We have selected DX).
• Thus the transfer of result from 0600H to 0700H is accomplished in two stages
using successive MOV instructions i.e., first, the content of 0600H is DX and then
the content of DX is moved to 0700H.
28Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• Add the contents of the memory location 2000H:0500H to
contents of 3000H:0600H and store the result in 5000H:0700H.
29Microprocessor-Based Systems Dr. Randa Elanwar
Application Examples
• Write a program for addition of two numbers
30Microprocessor-Based Systems Dr. Randa Elanwar
Beginning of data initialization
End of data initialization
Application Examples
• Write a program for addition of two numbers
31Microprocessor-Based Systems Dr. Randa Elanwar
Defining OPR1 as binary word = 1234 H
Defining OPR2 as binary word = 0002 H
Application Examples
• Write a program for addition of two numbers
32Microprocessor-Based Systems Dr. Randa Elanwar
Beginning of code instructions
End of code instructions
Application Examples
• Write a program for addition of two numbers
33Microprocessor-Based Systems Dr. Randa Elanwar

More Related Content

What's hot

Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
balbirvirdi
 
Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9
Randa Elanwar
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
harikrishna parikh
 
Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9 Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9
Randa Elanwar
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
Siraj Ahmed
 
Introduction to intel 8086 part1
Introduction to intel 8086 part1Introduction to intel 8086 part1
Introduction to intel 8086 part1
Shehrevar Davierwala
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
Deepak John
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
ISMT College
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
Poojith Chowdhary
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
Jismy .K.Jose
 
8086
80868086
8086 architecture
8086 architecture8086 architecture
8086 architecture
Sridari Iyer
 
Module 2 instruction set
Module 2 instruction set Module 2 instruction set
Module 2 instruction set
Deepak John
 
Lect 5
Lect 5Lect 5
Lecture3
Lecture3Lecture3
8086 modes
8086 modes8086 modes
8086 modes
PDFSHARE
 
Internal microprocessor architecture
Internal microprocessor architectureInternal microprocessor architecture
Internal microprocessor architecture
University of Gujrat, Pakistan
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
Muthusamy Arumugam
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
Md Abdus Sobur Sikdar
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
muneer.k
 

What's hot (20)

Memory intrface and addrs modes
Memory intrface and addrs modesMemory intrface and addrs modes
Memory intrface and addrs modes
 
Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9 Microprocessors-based systems (under graduate course) Lecture 7 of 9
Microprocessors-based systems (under graduate course) Lecture 7 of 9
 
8086 Introduction
8086 Introduction8086 Introduction
8086 Introduction
 
Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9 Microprocessors-based systems (under graduate course) Lecture 6 of 9
Microprocessors-based systems (under graduate course) Lecture 6 of 9
 
Introduction of 8086 micro processor .
Introduction of 8086 micro processor .Introduction of 8086 micro processor .
Introduction of 8086 micro processor .
 
Introduction to intel 8086 part1
Introduction to intel 8086 part1Introduction to intel 8086 part1
Introduction to intel 8086 part1
 
Module 1 8086
Module 1 8086Module 1 8086
Module 1 8086
 
Timing Diagram.pptx
Timing Diagram.pptxTiming Diagram.pptx
Timing Diagram.pptx
 
8086 micro processor
8086 micro processor8086 micro processor
8086 micro processor
 
Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086Minimum mode and Maximum mode Configuration in 8086
Minimum mode and Maximum mode Configuration in 8086
 
8086
80868086
8086
 
8086 architecture
8086 architecture8086 architecture
8086 architecture
 
Module 2 instruction set
Module 2 instruction set Module 2 instruction set
Module 2 instruction set
 
Lect 5
Lect 5Lect 5
Lect 5
 
Lecture3
Lecture3Lecture3
Lecture3
 
8086 modes
8086 modes8086 modes
8086 modes
 
Internal microprocessor architecture
Internal microprocessor architectureInternal microprocessor architecture
Internal microprocessor architecture
 
Pin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 MicroprocessorPin Description and Register Organization of 8086 Microprocessor
Pin Description and Register Organization of 8086 Microprocessor
 
Microprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackholeMicroprocessor & Assembly language by team blackhole
Microprocessor & Assembly language by team blackhole
 
Architecture OF 8085
Architecture OF 8085Architecture OF 8085
Architecture OF 8085
 

Viewers also liked

الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةRanda Elanwar
 
Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9 Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9
Randa Elanwar
 
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Randa Elanwar
 
Sad
SadSad
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
Abhinay Potlabathini
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
Then Murugeshwari
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
Tech_MX
 

Viewers also liked (7)

الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الخامس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9 Microprocessors-based systems (under graduate course) Lecture 8 of 9
Microprocessors-based systems (under graduate course) Lecture 8 of 9
 
Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9 Microprocessors-based systems (under graduate course) Lecture 9 of 9
Microprocessors-based systems (under graduate course) Lecture 9 of 9
 
Sad
SadSad
Sad
 
STLD-Combinational logic design
STLD-Combinational  logic design STLD-Combinational  logic design
STLD-Combinational logic design
 
Encoder and decoder
Encoder and decoderEncoder and decoder
Encoder and decoder
 
8051 microcontroller features
8051 microcontroller features8051 microcontroller features
8051 microcontroller features
 

Similar to Microprocessors-based systems (under graduate course) Lecture 5 of 9

Microprocessor
MicroprocessorMicroprocessor
Microprocessor
CharltonInao1
 
EC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptxEC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptx
deviifet2015
 
Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPT
ChetanNaikJECE
 
F9 microkernel code reading part 4 memory management
F9 microkernel code reading part 4 memory managementF9 microkernel code reading part 4 memory management
F9 microkernel code reading part 4 memory management
Benux Wei
 
Processors selection
Processors selectionProcessors selection
Processors selection
Pradeep Shankhwar
 
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdf
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdfComputer Organization and ArchitectureCh 4 MARIE(PPT).pdf
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdf
gadisaAdamu
 
M&i(lec#01)
M&i(lec#01)M&i(lec#01)
M&i(lec#01)
Majid Mehmood
 
ARM
ARM ARM
Arm processor
Arm processorArm processor
Arm processor
PrashantSingh056
 
Advanced Processor Power Point Presentation
Advanced Processor  Power Point  PresentationAdvanced Processor  Power Point  Presentation
Advanced Processor Power Point Presentation
PrashantYadav931011
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
Midhu S V Unnithan
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
Dr.YNM
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
Vinit Raut
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
asodariyabhavesh
 
Electronics product design companies in bangalore
Electronics product design companies in bangaloreElectronics product design companies in bangalore
Electronics product design companies in bangalore
Ashok Kumar.k
 
The sunsparc architecture
The sunsparc architectureThe sunsparc architecture
The sunsparc architecture
Taha Malampatti
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
Rai University
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
DrVaibhavMeshram
 
Introduction to ARM Architecture
Introduction to ARM ArchitectureIntroduction to ARM Architecture
Introduction to ARM Architecture
Racharla Rohit Varma
 
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
Rai University
 

Similar to Microprocessors-based systems (under graduate course) Lecture 5 of 9 (20)

Microprocessor
MicroprocessorMicroprocessor
Microprocessor
 
EC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptxEC8791 ARM Processor and Peripherals.pptx
EC8791 ARM Processor and Peripherals.pptx
 
Computer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPTComputer organization & ARM microcontrollers module 3 PPT
Computer organization & ARM microcontrollers module 3 PPT
 
F9 microkernel code reading part 4 memory management
F9 microkernel code reading part 4 memory managementF9 microkernel code reading part 4 memory management
F9 microkernel code reading part 4 memory management
 
Processors selection
Processors selectionProcessors selection
Processors selection
 
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdf
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdfComputer Organization and ArchitectureCh 4 MARIE(PPT).pdf
Computer Organization and ArchitectureCh 4 MARIE(PPT).pdf
 
M&i(lec#01)
M&i(lec#01)M&i(lec#01)
M&i(lec#01)
 
ARM
ARM ARM
ARM
 
Arm processor
Arm processorArm processor
Arm processor
 
Advanced Processor Power Point Presentation
Advanced Processor  Power Point  PresentationAdvanced Processor  Power Point  Presentation
Advanced Processor Power Point Presentation
 
Microchip's PIC Micro Controller
Microchip's PIC Micro ControllerMicrochip's PIC Micro Controller
Microchip's PIC Micro Controller
 
PIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTESPIC MICROCONTROLLERS -CLASS NOTES
PIC MICROCONTROLLERS -CLASS NOTES
 
Processor Organization and Architecture
Processor Organization and ArchitectureProcessor Organization and Architecture
Processor Organization and Architecture
 
Arm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furberArm architecture chapter2_steve_furber
Arm architecture chapter2_steve_furber
 
Electronics product design companies in bangalore
Electronics product design companies in bangaloreElectronics product design companies in bangalore
Electronics product design companies in bangalore
 
The sunsparc architecture
The sunsparc architectureThe sunsparc architecture
The sunsparc architecture
 
MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...MCA-I-COA- overview of register transfer, micro operations and basic computer...
MCA-I-COA- overview of register transfer, micro operations and basic computer...
 
Module -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptxModule -4_microprocessor (1).pptx
Module -4_microprocessor (1).pptx
 
Introduction to ARM Architecture
Introduction to ARM ArchitectureIntroduction to ARM Architecture
Introduction to ARM Architecture
 
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
B.sc cs-ii-u-2.2-overview of register transfer, micro operations and basic co...
 

More from Randa Elanwar

الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
Randa Elanwar
 
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
Randa Elanwar
 
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةRanda Elanwar
 
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
Randa Elanwar
 
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةRanda Elanwar
 
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص )_Pdf5of5
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص    )_Pdf5of5تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص    )_Pdf5of5
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص )_Pdf5of5
Randa Elanwar
 
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة والأخطاء ال...
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة  والأخطاء ال...تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة  والأخطاء ال...
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة والأخطاء ال...
Randa Elanwar
 
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد )_Pdf3of5
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد   )_Pdf3of5تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد   )_Pdf3of5
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد )_Pdf3of5
Randa Elanwar
 
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية )_Pdf2of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية  )_Pdf2of5تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية  )_Pdf2of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية )_Pdf2of5
Randa Elanwar
 
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
Randa Elanwar
 
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونينتعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
Randa Elanwar
 
Entrepreneurship_who_is_your_customer_(arabic)_7of7
Entrepreneurship_who_is_your_customer_(arabic)_7of7Entrepreneurship_who_is_your_customer_(arabic)_7of7
Entrepreneurship_who_is_your_customer_(arabic)_7of7
Randa Elanwar
 
Entrepreneurship_who_is_your_customer_(arabic)_5of7
Entrepreneurship_who_is_your_customer_(arabic)_5of7Entrepreneurship_who_is_your_customer_(arabic)_5of7
Entrepreneurship_who_is_your_customer_(arabic)_5of7
Randa Elanwar
 
Entrepreneurship_who_is_your_customer_(arabic)_4of7
Entrepreneurship_who_is_your_customer_(arabic)_4of7Entrepreneurship_who_is_your_customer_(arabic)_4of7
Entrepreneurship_who_is_your_customer_(arabic)_4of7
Randa Elanwar
 
Entrepreneurship_who_is_your_customer_(arabic)_2of7
Entrepreneurship_who_is_your_customer_(arabic)_2of7Entrepreneurship_who_is_your_customer_(arabic)_2of7
Entrepreneurship_who_is_your_customer_(arabic)_2of7
Randa Elanwar
 
يوميات طالب بدرجة مشرف (Part 19 of 20)
يوميات طالب بدرجة مشرف (Part 19 of 20)يوميات طالب بدرجة مشرف (Part 19 of 20)
يوميات طالب بدرجة مشرف (Part 19 of 20)
Randa Elanwar
 
يوميات طالب بدرجة مشرف (Part 18 of 20)
يوميات طالب بدرجة مشرف (Part 18 of 20)يوميات طالب بدرجة مشرف (Part 18 of 20)
يوميات طالب بدرجة مشرف (Part 18 of 20)Randa Elanwar
 
يوميات طالب بدرجة مشرف (Part 17 of 20)
يوميات طالب بدرجة مشرف (Part 17 of 20)يوميات طالب بدرجة مشرف (Part 17 of 20)
يوميات طالب بدرجة مشرف (Part 17 of 20)
Randa Elanwar
 
يوميات طالب بدرجة مشرف (Part 16 of 20)
يوميات طالب بدرجة مشرف (Part 16 of 20)يوميات طالب بدرجة مشرف (Part 16 of 20)
يوميات طالب بدرجة مشرف (Part 16 of 20)Randa Elanwar
 
يوميات طالب بدرجة مشرف (Part 15 of 20)
يوميات طالب بدرجة مشرف (Part 15 of 20)يوميات طالب بدرجة مشرف (Part 15 of 20)
يوميات طالب بدرجة مشرف (Part 15 of 20)
Randa Elanwar
 

More from Randa Elanwar (20)

الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء السادس ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الرابع ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثالث ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الثاني ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوةالجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
الجزء الأول ماذا ستقدم لعميلك ريادة الأعمال خطوة بخطوة
 
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص )_Pdf5of5
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص    )_Pdf5of5تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص    )_Pdf5of5
تدريب مدونة علماء مصر على الكتابة الفنية (الترجمة والتلخيص )_Pdf5of5
 
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة والأخطاء ال...
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة  والأخطاء ال...تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة  والأخطاء ال...
تدريب مدونة علماء مصر على الكتابة الفنية (القصة القصيرة والخاطرة والأخطاء ال...
 
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد )_Pdf3of5
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد   )_Pdf3of5تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد   )_Pdf3of5
تدريب مدونة علماء مصر على الكتابة الفنية (مقالات الموارد )_Pdf3of5
 
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية )_Pdf2of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية  )_Pdf2of5تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية  )_Pdf2of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات الإخبارية )_Pdf2of5
 
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
تدريب مدونة علماء مصر على الكتابة الفنية (المقالات المبنية على البحث )_Pdf1of5
 
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونينتعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
تعريف بمدونة علماء مصر ومحاور التدريب على الكتابة للمدونين
 
Entrepreneurship_who_is_your_customer_(arabic)_7of7
Entrepreneurship_who_is_your_customer_(arabic)_7of7Entrepreneurship_who_is_your_customer_(arabic)_7of7
Entrepreneurship_who_is_your_customer_(arabic)_7of7
 
Entrepreneurship_who_is_your_customer_(arabic)_5of7
Entrepreneurship_who_is_your_customer_(arabic)_5of7Entrepreneurship_who_is_your_customer_(arabic)_5of7
Entrepreneurship_who_is_your_customer_(arabic)_5of7
 
Entrepreneurship_who_is_your_customer_(arabic)_4of7
Entrepreneurship_who_is_your_customer_(arabic)_4of7Entrepreneurship_who_is_your_customer_(arabic)_4of7
Entrepreneurship_who_is_your_customer_(arabic)_4of7
 
Entrepreneurship_who_is_your_customer_(arabic)_2of7
Entrepreneurship_who_is_your_customer_(arabic)_2of7Entrepreneurship_who_is_your_customer_(arabic)_2of7
Entrepreneurship_who_is_your_customer_(arabic)_2of7
 
يوميات طالب بدرجة مشرف (Part 19 of 20)
يوميات طالب بدرجة مشرف (Part 19 of 20)يوميات طالب بدرجة مشرف (Part 19 of 20)
يوميات طالب بدرجة مشرف (Part 19 of 20)
 
يوميات طالب بدرجة مشرف (Part 18 of 20)
يوميات طالب بدرجة مشرف (Part 18 of 20)يوميات طالب بدرجة مشرف (Part 18 of 20)
يوميات طالب بدرجة مشرف (Part 18 of 20)
 
يوميات طالب بدرجة مشرف (Part 17 of 20)
يوميات طالب بدرجة مشرف (Part 17 of 20)يوميات طالب بدرجة مشرف (Part 17 of 20)
يوميات طالب بدرجة مشرف (Part 17 of 20)
 
يوميات طالب بدرجة مشرف (Part 16 of 20)
يوميات طالب بدرجة مشرف (Part 16 of 20)يوميات طالب بدرجة مشرف (Part 16 of 20)
يوميات طالب بدرجة مشرف (Part 16 of 20)
 
يوميات طالب بدرجة مشرف (Part 15 of 20)
يوميات طالب بدرجة مشرف (Part 15 of 20)يوميات طالب بدرجة مشرف (Part 15 of 20)
يوميات طالب بدرجة مشرف (Part 15 of 20)
 

Recently uploaded

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
Celine George
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
Priyankaranawat4
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
EduSkills OECD
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
Priyankaranawat4
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
iammrhaywood
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
mulvey2
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Denish Jangid
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Fajar Baskoro
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Leena Ghag-Sakpal
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
adhitya5119
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
HajraNaeem15
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
S. Raj Kumar
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
Nguyen Thanh Tu Collection
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
heathfieldcps1
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
siemaillard
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
Nicholas Montgomery
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
Chevonnese Chevers Whyte, MBA, B.Sc.
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
GeorgeMilliken2
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
Celine George
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
ssuser13ffe4
 

Recently uploaded (20)

How to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 InventoryHow to Setup Warehouse & Location in Odoo 17 Inventory
How to Setup Warehouse & Location in Odoo 17 Inventory
 
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdfANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
ANATOMY AND BIOMECHANICS OF HIP JOINT.pdf
 
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptxBeyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
Beyond Degrees - Empowering the Workforce in the Context of Skills-First.pptx
 
clinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdfclinical examination of hip joint (1).pdf
clinical examination of hip joint (1).pdf
 
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptxNEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
NEWSPAPERS - QUESTION 1 - REVISION POWERPOINT.pptx
 
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptxC1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
C1 Rubenstein AP HuG xxxxxxxxxxxxxx.pptx
 
Chapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptxChapter wise All Notes of First year Basic Civil Engineering.pptx
Chapter wise All Notes of First year Basic Civil Engineering.pptx
 
Pengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptxPengantar Penggunaan Flutter - Dart programming language1.pptx
Pengantar Penggunaan Flutter - Dart programming language1.pptx
 
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
Bed Making ( Introduction, Purpose, Types, Articles, Scientific principles, N...
 
Advanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docxAdvanced Java[Extra Concepts, Not Difficult].docx
Advanced Java[Extra Concepts, Not Difficult].docx
 
How to deliver Powerpoint Presentations.pptx
How to deliver Powerpoint  Presentations.pptxHow to deliver Powerpoint  Presentations.pptx
How to deliver Powerpoint Presentations.pptx
 
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching AptitudeUGC NET Exam Paper 1- Unit 1:Teaching Aptitude
UGC NET Exam Paper 1- Unit 1:Teaching Aptitude
 
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
BÀI TẬP BỔ TRỢ TIẾNG ANH 8 CẢ NĂM - GLOBAL SUCCESS - NĂM HỌC 2023-2024 (CÓ FI...
 
The basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptxThe basics of sentences session 6pptx.pptx
The basics of sentences session 6pptx.pptx
 
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptxPrésentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
Présentationvvvvvvvvvvvvvvvvvvvvvvvvvvvv2.pptx
 
writing about opinions about Australia the movie
writing about opinions about Australia the moviewriting about opinions about Australia the movie
writing about opinions about Australia the movie
 
Constructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective CommunicationConstructing Your Course Container for Effective Communication
Constructing Your Course Container for Effective Communication
 
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
What is Digital Literacy? A guest blog from Andy McLaughlin, University of Ab...
 
How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17How to Make a Field Mandatory in Odoo 17
How to Make a Field Mandatory in Odoo 17
 
math operations ued in python and all used
math operations ued in python and all usedmath operations ued in python and all used
math operations ued in python and all used
 

Microprocessors-based systems (under graduate course) Lecture 5 of 9

  • 2. Lecture Content • RISC and CISC architectures • External memory – memory segmentation – memory address decoding – Instruction codes • Application examples 2Microprocessor-Based Systems Dr. Randa Elanwar
  • 3. Microprocessor bus architecture and instruction sets 3Microprocessor-Based Systems Dr. Randa Elanwar As we have seen so far: The execution unit of the microprocessor (EU) has 8 general purpose registers working as temporary storage (i.e., internal memory): AH, AL, BH, BL, CH, CL, DH and DL. They can be used individually (8 bit mode) or in couples (16 bit mode) AL register is called the accumulator. It has some extra features not found in others. The data stored in these registers (internal memory) is accessed much more quickly than being accessed if it is stored in the external memory
  • 4. RISC vs. CISC • An important aspect of computer architecture is the design of the instruction set for the processor. • The instruction set chosen for a particular computer determine the way that machine language programs are constructed. • Early computers had small and simple instruction sets, forced mainly by the need to minimize the hardware used to implement them. • A computer with a large number of instructions is classified as a Complex Instruction Set Computer, abbreviated CISC. • In the early 1980s, a number of computer designers recommended that computers use fewer instructions with simple constructs so they can be executed much faster within the CPU without having to use memory as often. This type of computer is classified as a Reduced Instruction Set Computer or RISC. 4Microprocessor-Based Systems Dr. Randa Elanwar
  • 5. RISC vs. CISC • The essential goal of a CISC architecture is to attempt to provide a single machine instruction for each statement that is written in a high-level language, in other words, try to be in almost no need of a compiler. • The translation from high-level programming language to machine language programs is done by means of a compiler program. • The major characteristics of CISC architecture are: • 1. A large number of instructions-typically from 100 to 250 instructions • 2. Some instructions that perform specialized tasks and are used infrequently • 3. A large variety of addressing modes-typically from 5 to 20 different modes • 4. Variable-length instruction formats • 5. Instructions that manipulate operands in memory 5Microprocessor-Based Systems Dr. Randa Elanwar
  • 6. RISC vs. CISC • The concept of RISC architecture involves an attempt to reduce execution time by simplifying the instruction set of the computer. • The major characteristics of a RISC processor are: • 1. Relatively few instructions • 2. Relatively few addressing modes • 3. Memory access limited to load and store instructions • 4. All operations done within the registers of the CPU • 5. Fixed-length, easily decoded instruction format • 6. Single-cycle instruction execution • 7. Hardwired rather than microprogrammed control 6Microprocessor-Based Systems Dr. Randa Elanwar
  • 7. RISC vs. CISC • A characteristic of RISC processors is their ability to execute one instruction per clock cycle. This is done by overlapping the fetch, decode and execute phases of two or three instructions by using a procedure referred to as pipelining. • Other characteristics attributed to RISC architecture are: • 1. A relatively large number of registers in the processor unit • 2. Efficient instruction pipeline • 3. Compiler support for efficient translation of high-level language programs into machine language programs. 7Microprocessor-Based Systems Dr. Randa Elanwar
  • 8. External memory • The external memory (outside the microprocessor) is composed of a large number of registers. • If the memory has 4000 8-bits storage locations for example, it is referred to as 4K byte memory. • The number of memory locations the can be addressed by the microprocessor is determined by the number of address lines it has. • If the microprocessor 16 address lines bus (A0 to A15) it can address up to 216 locations (26*210) = 64K byte memory. 8Microprocessor-Based Systems Dr. Randa Elanwar Memory address (Bin) (Hex) Stored data (Bin) (Hex) 0000 0000 0000 0000 0000 0010 1011 2B …. …. …. …. …. …. …. …. …. …. …. …. …. …. …. …. 1111 1111 1111 1111 FFFF 0000 0010 02
  • 9. Memory Address decoding • Decoders have n-inputs and 2n outputs, each input combination results in a single output line having a 1, all other lines have a 0 on the output. • The memory decoder is connected to the CPU by the address bus. • Each memory cell is connected to an input and output data bus, a read/write control, and the decoder which enables the memory cell when the appropriate address appears. • The decoder ensures that only a single memory cell is activated at a time for either input or output. 9Microprocessor-Based Systems Dr. Randa Elanwar
  • 10. Memory Address decoding 10Microprocessor-Based Systems Dr. Randa Elanwar •A Integrated circuit of a 64KB memory has 16 pins to address locations 0000  FFFF •Thus a 20 address bits microprocessor can address 1MB memory, i.e., 16 memory ICs of 64KB capacity. •It uses 4x16 decoder to select between the 16 ICs. The address lines A0 to A15 are used to address locations within 1 memory bank •The address lines A16 to A19 are used to select between the 16 ICs (most significant nibble). I.e., 00000  FFFFF 0 0000 . 0 FFFF 1 0000 . 1 FFFF 2 0000 . 2 FFFF 3 0000 . 3 7FFF 3 8000 . 3 FFFF . A 0000 . A FFFF . F 0000 . F FFFF 64KB 64KB 64KB 64KB 64KB 32KB 32KB
  • 11. Memory Address decoding • If two Integrated circuit of a 32KB memory are used instead of a single Integrated circuit of a 64KB memory, the A15 address bit is used to select between them. 11Microprocessor-Based Systems Dr. Randa Elanwar 8088 0 0000 0 FFFF 64KBA0 . A15 MEMR MEMW 1 0000 1 FFFF 64KB 2 0000 2 FFFF 64KB 3 0000 3 7FFF 32KB 3 8000 3 FFFF 32KB 4x16 decoder A16 . A19 A15 A15 0 1 2 . F CS CS CS CS
  • 12. 8088 address bus and Memory segmentation • 8086 microprocessor has 16 bit internal bus and 16 bit external bus. • 8088 microprocessor has 16 bit internal bus and 8 bit external bus. 12Microprocessor-Based Systems Dr. Randa Elanwar Control Logic Creates the addresses 8088 microprocessor Data bus Memory holds data and instructions Address lines MEMR MEMW
  • 13. 8088 address bus and Memory segmentation • All memory locations are connected on the common bus such that only one location can output its content on the bus and all ALSU structure is isolated (i.e., only one location at a time). • The memory locations addresses are usually included in arithmetic operations (specially INC operation). • The 20 address lines give out address of 5 hex digits (00000  FFFFF). • If address lines has 00000 and MEMR is low, then the first memory location is selected to output its content on the bus. • Programs (instructions sequence) stored in memory are coded in binary/hex format to be transmitted on the data bus to the microprocessor EU so that it can be decoded and executed 13Microprocessor-Based Systems Dr. Randa Elanwar
  • 14. Instruction codes • Instruction Operation • INC r16 increments the content of a 16 bit register, r16 represent the register name • Example: • INC AX  Code: 0100 0000  Hex: 40 • INC SI  Code: 0100 0110  Hex: 46 14Microprocessor-Based Systems Dr. Randa Elanwar Register 16 bit mode 8 bit mode 000 AX AL 001 CX CL 010 DX DL 011 BX BL 100 SP AH 101 BP CH 110 SI DH 111 DI BH 0 1 0 0 0 INC instruction code Register name code
  • 15. Instruction codes • Instruction Operation • INC r8 increments the content of a 8 bit register, r8 represent the register name • Example: • INC AL  Code: 1111 1110 1100 0000  Hex: FEC0 • INC AH  Code: 1111 1110 1100 0110  Hex: FEC4 • Instruction codes can consist of one, two, three or four bytes. 15Microprocessor-Based Systems Dr. Randa Elanwar 1 1 0 0 0 INC instruction code Register name code 1 1 1 1 1 1 1 0
  • 16. Instruction codes • MOV AL, [2FB70] – This instruction reads the content of the memory location address 2FB70 and stores them in AL – The content of the memory location address is 1 byte (2 hex digits). – Address lines will hold: 0010 1111 1011 0111 0000 • MOV [2FB70], AL – This instruction writes the content of AL into the memory location address 2FB70 • If we want to write a part of a program into the memory: 16Microprocessor-Based Systems Dr. Randa Elanwar Memory Address Content 2B37E FE 2B37F C4 2B380 46 Data or instruction INC AH INC SI
  • 17. Instruction codes • Question: How does the microprocessor knows if the instruction consists of more than one byte? • Answer: The microprocessor memory addressing is performed in 3 main steps: Fetch-Decode-Execute • The CPU fetches and executes 1 instruction at a time. – Thus it needs some register to hold the memory location address containing the current instruction being executed  we call it instruction pointer (IP). – if the instruction is composed of more than 1 byte there should be registers to hold the instruction codes to be decoded and executed simultaneously  we call them instruction registers (IR). 17Microprocessor-Based Systems Dr. Randa Elanwar
  • 18. Instruction codes 18Microprocessor-Based Systems Dr. Randa Elanwar Control Logic Creates the addresses 8088 microprocessor Data bus Memory holds data and instructionsAddress lines MEMR MEMW IR1 IR0 … IP IR4 1. The IP register content is output on the address lines 2. The control logic activates the read signal (MEMR is low) 3. The control logic clocks IR0 and stores the instruction first byte 4. The control logic reads the output of IR0 and determines whether or not the instruction is complete 5. If the instruction is not yet complete, IP is incremented 6. When the instruction is complete, the CPU checks the instruction table, decodes the instruction and executes it by operating ALSU
  • 19. Memory segmentation, address decoding and direct access • Since the IP is being incremented during program execution, this means that the memory location address is involved in arithmetic operations in ALSU. The problem is the address is composed of 20 bit and ALSU works on 16 bit data. • To solve this problem: – Memory is divided to equal parts of size 64K bytes called “segments” – Each location address is defined by two parts: start point and offset – Memory location  Segment:offset – Example: let segment be 23B5, offsets are 0000 and FFFF 19Microprocessor-Based Systems Dr. Randa Elanwar Start 23B50 Start 23B50 + + Offset 0000 Offset FFFF Address 23B50 Address 33B4F Written as 2000:3B50 Written as 3000:3B4F
  • 20. Memory segmentation, address decoding and direct access • Now it is easy to perform arithmetic operations on the address. • Example: • We have four segment registers in the BIU are used to hold the upper 4 bytes of the address: – CS: Code segment register – SS: Stack segment register – ES: Extra segment register – DS: Data segment register 20Microprocessor-Based Systems Dr. Randa Elanwar Memory Address Content Seg:offset 2B37E FE 2000:B37E 2B37F C4 2000:B37F 2B380 46 2000:B380
  • 21. Memory segmentation, address decoding and direct access • The BIU always insert zeros for the lowest nibble of the 20 bit starting address for a segment. 21Microprocessor-Based Systems Dr. Randa Elanwar Register Name Code Segment (CS) Stack Segment (SS) Extra Segment (ES) Data Segment (DS) Functio n Holds the upper 16 bits of the starting address for the segment from which the BIU is currently fetching instruction codes Holds the upper 16 bits of the starting address for the program stack (Stack stores program addresses and data while subprogram executes) Holds the upper 16 bits of the starting address for the memory segment used for data storage Holds the upper 16 bits of the starting address for the memory segment used for data storage
  • 22. Memory segmentation, address decoding and direct access 22Microprocessor-Based Systems Dr. Randa Elanwar CS DS ES SS IP T3 BP SP Segment registers (16 bits) Offset registers (16 bits) MUX MUX HA HA HA HA FA FA HA… 20 bit address latch 44444444 444 44 c c c c c A0 . . A19 8088 microprocessor F0000-FFFFF E0000-EFFFF D0000-DFFFF C0000-CFFFF B0000-BFFFF A0000-AFFFF 90000-9FFFF 80000-8FFFF 70000-7FFFF 60000-6FFFF 50000-5FFFF 40000-4FFFF 30000-3FFFF 20000-2FFFF 10000-1FFFF 00000-0FFFF 20 address lines  220 bytes  24+6+10 16 segments of external memory, each is 64K bytes
  • 23. Memory segmentation, address decoding and direct access • The micro-operations of memory access: • Example: MOV AH, [BX] – BX contains the offset only since DS has the segment start point 1. BX content is moved to T3 2. MUX is activated to add T3 and DS 3. The physical address comes out 4. MEMR signal goes low 5. The CLKAH goes low 23Microprocessor-Based Systems Dr. Randa Elanwar
  • 24. Memory segmentation, address decoding and direct access • The micro-operations of memory access: • Example: MOV AH, [BX+SI-17] 1. BX content is added to SI and result is moved to T1 2. 17 is complemented and added to T1 and result is moved to T3 (now we have the offset) 3. MUX is activated to add T3 and DS 4. The physical address comes out 5. MEMR signal goes low 6. The CLKAH goes low 24Microprocessor-Based Systems Dr. Randa Elanwar
  • 25. Application Examples • Write a program to add a data byte located at offset 0500H in 2000H segment to another data byte available at 0600H in the same segment and store the result at 0700H in the same segment 25Microprocessor-Based Systems Dr. Randa Elanwar
  • 26. Application Examples • As the immediate data cannot be loaded into a segment register, the data is transferred to one of the general purpose resistors, say AX. and then the register general purpose registers, say AX, and then the register content is moved to the segment register DS. Thus the data segment register DS contains 2000H. • The instruction MOV AX,[500H] signifies that the contents of the particular location, whose offset is specified in the brackets with the segment pointed to by DS as segment register, is to be moved to AX. • The MOV [0700], AX instruction moves the contents of the register AX to an offset 0700H in DS (DS = 2000H). 26Microprocessor-Based Systems Dr. Randa Elanwar
  • 27. Application Examples • Write a program to move the contents of the memory location 0500H to register BX and also to CX. Add immediate byte 05H to the data residing in memory location, whose address is computed using DS=2000H and offset=0600H. Store the result of the addition in 0700H. Assume that the data is located in the segment specified by the data segment register which contain 2000H. 27Microprocessor-Based Systems Dr. Randa Elanwar
  • 28. Application Examples • The immediate data byte 05H is added to content of 0600H using the ADD instruction. The result will be in the destination operand 0600H. This is next stored at the location 0700H. • In case of the 8086/8088 instruction set, there is no instruction for the direct transfer of data from the memory source operand to the memory destination operand except, the string instructions. • Hence the result of addition which is present at 0600H, should be moved to any one of the general purpose registers, except BX and CX, otherwise the contents of CX and BX will be changed (We have selected DX). • Thus the transfer of result from 0600H to 0700H is accomplished in two stages using successive MOV instructions i.e., first, the content of 0600H is DX and then the content of DX is moved to 0700H. 28Microprocessor-Based Systems Dr. Randa Elanwar
  • 29. Application Examples • Add the contents of the memory location 2000H:0500H to contents of 3000H:0600H and store the result in 5000H:0700H. 29Microprocessor-Based Systems Dr. Randa Elanwar
  • 30. Application Examples • Write a program for addition of two numbers 30Microprocessor-Based Systems Dr. Randa Elanwar Beginning of data initialization End of data initialization
  • 31. Application Examples • Write a program for addition of two numbers 31Microprocessor-Based Systems Dr. Randa Elanwar Defining OPR1 as binary word = 1234 H Defining OPR2 as binary word = 0002 H
  • 32. Application Examples • Write a program for addition of two numbers 32Microprocessor-Based Systems Dr. Randa Elanwar Beginning of code instructions End of code instructions
  • 33. Application Examples • Write a program for addition of two numbers 33Microprocessor-Based Systems Dr. Randa Elanwar