0% found this document useful (0 votes)
2 views

Operating System

The document provides a detailed overview of a microprocessor architecture, including instruction sets, data transfer instructions, and various operations. It outlines the structure of the data bus, address bus, and control signals, as well as examples of assembly language instructions and their corresponding hex codes. Additionally, it discusses timing diagrams and the operational flow of instructions within the microprocessor.

Uploaded by

arpanpatil01574
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

Operating System

The document provides a detailed overview of a microprocessor architecture, including instruction sets, data transfer instructions, and various operations. It outlines the structure of the data bus, address bus, and control signals, as well as examples of assembly language instructions and their corresponding hex codes. Additionally, it discusses timing diagrams and the operational flow of instructions within the microprocessor.

Uploaded by

arpanpatil01574
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 21

8o35

16

lt6 bit
fAcumuttr|e addret
bus

Aw

FLAGS D
Dcta buy H
Sp(l6 bit
contre| PC Cl6 bi)
TRning
baneetonaf unchici
PAGS
ie bit
S2 address Bus
data bus
Connetd to aoldseA
all

modl
CouiteHsT
connected
-8095 prooamnun
we
Rhap
Selet

WR
in ALu, vale of MM
"tor an) opuation
changegflays
qeumulabó s being
a ceftad.
A

Au acemulata erenO A
odd : 1;
porty
Dla Bus
( Bit)
o eaLDha.
pente esceit boasrd connetlng vonas comgoneála o At
* peB: wes / unes n peß

doesnt.
outhn he odt chmyes
speihic tmut
Ro ill be A4a time
aen fo the Data bus
As Swppased to
Aeng f ho
A
A0 lor
eadtm dta bus:
Model

Tnstructon Set =
O Data Trsfes instuction,
O Aoitthmeti insthtion
3 Logicat insthetion
Bronchng nstntion JopLode oprand |
machinefcontel nstueten. Jnetrution
valeu t m
Thstutton sie Tstuet can be of 3 ilferent ys moy wont erase the -the
8 bit
mov C,A c.
valu at A to
2 myI A, 32 H 6 bit'
24 bit '
3 kiyta LDA 2050 H
docation
addres of memy
A 32 H
MVI

opuode operand
0000 O, 81

OPcoPE Fomat 1oo00 o00


Example : App B
Code code t r Add 0O0 o

’4 H
MOv: C, A

A
Reseed

Code ta mov ’ 01

Hencode
ALp
2001 H
32 H
MYT A 32 H
49 H 2002
VI B, 2003 MI 48 H
49 H 2 004 H
Hardware level e A
oUT O H.
snbyt nes conneteod lachiv
Lo1
1o01 44 4
4fH
Dats rans fer Fnstucteony
* Jmmedial to sagitea/memy
to ynemy
Ports ( TN)O UT)

Rd B
D
value
HL

imnediate m A
value H, L
pain)
A, M 20
mov
memy
|Los H
alle et memn
lcation 2005 H to aceumlar,
2005 H 76
betoe wwng
Ihe conte nlt
he hed to
nd L

H, 20

mvI
hen ce
mov A, M
memoY
l mre
aecunulalrto (H,L
m, A
Fomediatevale
bytes
LoadPypai
cinsthction Ammded wig 2 mvI for q
2005 H
L}T H,
-2
H, 20 H
mvI. 1byteactaby2by
thatis
mvI n Look nto
hn

LaE H, 2oes H
5, 20oa c u sHa t y
2DA 20sO H ]3bytr
25
moy A, MA qmulan Zo07

ALDAX B/ 44
(oed qcumulctir
ayder of htunq SodJn emy
with reAler
D
S TAX B ndireet and STAX nu qire
crict
STA (

Store ralue aty Ocumulator egatu pair B,C,


addes af

4Swaps y 1 byjte
Hi veg- þar to Be
witn stack þainter 1
contint of H regita Pair
enhangs
Ascthmet
ADD R ANA R
ADI
1 by laleo yale
ANI
ORA vale
SUT bye
2
oRT 1 byte
TNR byle XRA
DUR
XRI
TNA
DCx Rp
E FH CPI
cmp R
thout
9100 H
INX
H ’
RAL
RAR
RRC Cwthotc y )

complent to
qcLmlar)

T2 H
Ac H conbe pefe hardsye
ALwat
AnD,
A hen ing

ANA =1

72H
" Jmpishut

thenthan

Cmp P
2050 H
mov
A, B

Addaeu Hexcod
LDA 20 51 H 2039 3A
S1 26s|4
29s2 9F
2032 20 2053 ’
B49
A49 MOY B, A 2023
B49 3A
LDA 2052 H 2034
2035 S2

SUB Qo36

STA 20S3 H Ro29 32


2o3 9 53
203A
203B

ertemal opaatin
Um'dinetional

mn

Deato.b lsbry Cbiijbecton)


Contal Bus m
nemaay and
Addes Bus l6
Doala Bug hit63536 (ocalion tn memyo
8 bit
64k
cohere /024y
MicroproeJsoYr Îhttiateel puuation
M{M Read Data/Tns
ite- Dala /Pns
T/0 Read

) Foovete tuning md ynchonistion


Pe + 2030
TO 3A
ofexatkong
har to hs
when e scy meny is deny read,
means data is comuing to ee the uegistos
ohen
the
Aschiteetue n thu

32-bit

Pout
DrN
Trtunadperations DF
Store bih data EN
1) ALE opuaton (Chale heoks to
Tost for conditöns ttesteck- memo.
the
tomprhy batn
s> stire dato Deut Det(nend)
Made by natiinal seniionect

DEN Dout

DFF
EN

3
A1
2
4

A",

/PButer

oeeo
foiphora sinithatia opoatons
Reset
mastale mat procng)
Tntuugplc non makalele
Hotd ’Dieet
dlata h bulkfoom
"hemy endnel jpipagy.
KAn dfounce, mcontnt . thuis bidd end duntion

R5G bye
A Az As Ay Ai A A A4,
-A tsAg Ag A, A Aj A Ag

A14 Al An Ao As Ag A As Ay Ag A A, Ao

fo in
FFFFH

addon Darye /m chip&


2m
S12 bytes
Ac As Ay A As A, Ao
Ai An Aje Ag Ag Ag
AJs Ay Ap Ae

o3FF H

FEfF
Coan e

A A As Ay Ag Az AyA
Aj At A1
As
a le
l e
OLFF H
o

al
ero
O3 FF H
SX024

3 bit (3 bits

(si)
Av
5|2
MicrorosoY

Hioopreceyer plin descy


(As-As),(29-2)|
2 Bus (2-15)
39 HoLD A Do- AD
4seil-utput 38-HLDA AD,- ADy(l2-19)
SoD 5Jshel- n
37 daek out) 2) Dat bus
SiD 6nomafkate aneaot 36RESET IN Contel and s t a s
Stetn
TRAP
RST 34 to/M conbiol
334Si status g
TNTRIo
Haknonnent
32- RD
Addocs
Lateh
enalle Jnitiatzd siynal
TNTA 3o4 ALE
ADe12
29 So Stats sgil serial
13
14 28 Ars
2? to do, thatis
26
cyele'.
25
241 be the meltßle of theae cloet
ADa 23
22
Vsg20 21 Ag
ound contgl blode

o33 45 fo get CeAAGato exected.


nitl tate
Gscnd ht oren Ss.
RST 7-5 keil be þotoratied

oln his analog gmal


sLonveted-to tlmy)jitd woy the Pcm, and Jent to te cpu
Gn sntesupt was ajed

data u styy n ihe.

sit ufER.
whenwn tam lono high.
shn ALE hyh he ee a adde buy,
means AD, t Ap,
Contel

Macin yds Sau sanal


So
To/m S;
PCOBE FETH J
Mlm READ

Tlo.READ
o wRITE

TNTEReVRT AEnosipnt
HALT
AOLD
RESET X
eonit dne ac TNTAJ

ucn qe? clock cyce rtguused to comhlete the paxtiutax Mcbetuin

the opesalion wich cannof be cltnde od w t

Iecaun these an baye opuction proimn is goingto porfn.


yle
: Mace
then 3F4J I, and , ll be same.

neted by
LxI, H,2005 H extena pophead
feteh
J Me: opode 3 StataÌ

Tntenal data Bus

AU SP
P
4EH 200
A
200

-mov H
Do0sH
2005 H

Ao
Ac o|01

wse A hay o V
e
A hy JV

-. ADa
Apo
SV

Frstuctn decoder ot t

nddy addo by

to te data bud. C,A


MOV
happenin
4o33us
Mle gcte dining diaoam
033 wus T3 Ty

Clock

for 3 Tsttes
A1g
AB
20 4 Pgn ordo Ale wnied
Ap?
05
ADO 05 HLil be acte

opodeeth nextopode|fet
ALE wiugo
fist Lsate

dewdu . data ug
dat d 4t
2005 MOV C,A
THle
nyÍ A, 32}1 ofode kdh: y
Q
006, 2004 eneuite
| Tsatek
sit S13T efend

AiE,
data

a 3MM2

at now tate O2 us
buy thene ko n lala Corn Re L
Tming.Diagram Microprocestot
Hexcode
2001 MVI A 32 H 3E H ? 2 m/e yegfeh 4T fotl 91
200 2 32 H O pude

* Dnstrutton uyde: consit of 1 to 6 m<e cyde Tlo RD


Cyde: 3-G T states T/o wR
MRD
‘. sttus:

ehh
qude
Petayof-he scuit
7, Ts

A 20 HOA b

A
ADo
njedend
02

ALE

Tolm So=0, S-A

dos,
o
moment
databus hens e t e
The
enabled
{o data the
ond, the garealhe

(sanelemrtoy

byt
4FH
3 bytes
STA 2065 H 200 H
tocaleom

opcde of sTA 32 H
2001 H
654
20 H

)Me YT
oddos by)
(fir lonei ordor
eadh 3T

yle 3T ( t hihe
me mo éwse 3T

T3
T3
T+

let hint
A, 32 H
bled qeumlnabde,atos
shehAethoa9eoehd
=o
S
0
wate at
val
H
20 S, el
Hofm0,
bufer
T
Lübut
Tio
So
=l,
T 20
H
ad
mln s,
S=,S0=0to/rño,
H
02 ernal valie

rad
m
TT
Tloimeo,

Kunspeuihed
06S2
S=1,
fekh
opde
H
20 TO/M
o,

00
H

Ais Ao Ap ALE To/7


3/1/25
&bit
icroprocessor Hexcoce Keasl
TN Co H DB H 4100 2" paerd
4101
(2 byts) CO H
J. opcode fetch
4100 2. (Memn
34 H m/mhiite

4200 H (Knoring the rule


eyuti pai kas value 4200 s titesnl

he haye fo dhar dhe

T T4

As
41 (uneuha 41 Co H
Ag ighex
tt sam add fr
AD?
Apo
01 coHoH 65 TO/>ead
ALE
ihaderea the ralue
at I/o pvot
To/m (alcit Yalu)
ToL=o, Sj=Sol To/n= s,F, To/m=1,S,S

Te T T3
A
A3 41
|42
42
AP, b
leat
00
ALE

To=,S , !
64 kb
16 TPdata
bit bine

Ao Rom
Cs
(Sofhen addara line
to select the
Chs)

Ao olp Bufer Ar
a/p Buffeh
OP datalins

hene fre-tod
Rorm is memo Peset
oncted to adds and da ka h y

pcnlan aese Tege nernay,

Ram

|AyA6

A-A
43-r
Ko. 0,-0

on adthes buy.

27512
64 kh

AoAry

lutey

Ab-As
32kb

27256

Do/D?

t c h ia r i u
be
sleated

RAm
EPROm EPROM
Absalule Ais Ao
A-Ag
A-An
Ao-An
mias clesdlen
Pom
Deoden
deod
Ary

As
t oacfvte
dewle

wih Pom gkb


64 eo

You might also like