Solutions To Some Questions in Microproccessor
Solutions To Some Questions in Microproccessor
8086 lstutiw St
Contan :o(Podle
wment, mweoUte data ote
(laitiatien
1) Date Taant 4) Gutro| Tranps
2 Anthmtie 5) Staing Manilatón
6) Paoho te
msde.
MOD REG [M
opLOde ] 'D
6t
instucte it
MOV 100010
the opeusd
Code
AL AX
CL
Cx
DL Dx
BL BX
AH SP
|0)
Ba Point
DH SI
Detinathon hdex.
Lowe
16 tt
ex] tontemt BX
Date
Coode tor A[M}tive Adcbu, Calutao when MOD00loll 10
10
cBX]4[sI \6]+ [s ]+d2 b]+ CSI] +dlk
CSI] tSI] +d (3 ] + de
D1] +d16
CoT] +d2
dls (diet)
COx] C Bx)t d b] tdI6.
Data
MOV D,B
Di Dutrotien
# oth Sk D can ot mm
MOV o3 A H
Data e n t
pUSH bX*
dustinatan
XCHG: Des,
#cannot achag
XCHG DX AX
( LDS
’it then
copis Mext 2 mem
0301
0ß02 Rea
CT
it-2 Date
72
60
JAf,CE, SF, PF ZF ydatd hen
CF=o
SUB At, BH
DA8
YUylt AL= D Hex
A17 80D CFe1
DAS updat: AF, CF ,SE, IE, ZF LBoa)
OF:
A X= 16bit.
Date
O cBWC Convet siqnd nlod)
AL to al. bits AH
AH
decinal)
eo AX 0000 |ool lo| (155
AND Des, S
cemtnt
PF, SF ZF
Date
NOT Dy
4)
Bx.
as compmunt
Flags: f,ff,zf, oF updatd
(6) MP Des Se
es cMP Cx, BX
CF ZF SF
CX7BA
CX<BX 1
4) TEST
AND oye wend tn De with
iuuctiens
Date
TEST
MSBE LSB
o wwtrudiin.
RCL t: MsBtoCF.
CF to LSB
MOV
BX, CL
Heotate Lentent
bhit postion.
# ga it 4 ’ cF
F binal cF bit 3
|ate
- CovtTe Instuchow
ter a
oY TEeT instruchiv
Mode , - wsed wfth JMI, CALL
( ) ulative
duthetpn
Mode
)
vefuue
) wvut-Attroving Moe
S, BP, sI, DI
Wed
hot
displatadp
Shout
10009
CS? |000H
10006
New I ?
O002to4
o006 H adds
ad
1000
10003
loo02
lo001 02
O003tO 00 2 10000 Tme
000 SH
AbI24
A8121
10004
|0003 00
Neus Cs A300H |0002
|O001 27
10000TM? l69ode.
Conditioual
TNC C=0
Usgd.
T124
o0 H
-123
NO:
les has S =0
LOor instuciow
deeemrt Cx h TNZ
cOmhivatiew
Cx
dueument
addvess o
instutiow is extuted.
scquential
Page No.
oate
Yaoudwnes, Subroutins, muthod tuucio
usaoe code iw
Savs
to
ain to
retn to man to puoudu
CALL RETI
Coled
\wwhuchou
32K dista mu
Lit
giep to to
Ctak
AFTFE
lo 003
1060 FF
03
=D00t DFFF
Page No.
oate
FAR CA
CS
Code
AFFF
AFFFE
FFIFD 00
00 (O003
100 02
02
ttotuuduy
Aulo
taudamne
wuat lhtoup
16 y
Cath
opoad.
:0).s
Ahe ag onto the stak
(2) Uua
(2) 4 , b v t D
sthe ack.
(4)
Cnals TN TR
Htoree the
t e p t ectors
#Ronauivg
4 byt
mm [ o0000- ob3PFH1
Vecto: eah vetor
2S6 dljuwt fataupt
Dw addes o
IP V CS
INTO OH-bH
JNT I 4H-7
Non-Makahe NM Ipn
INT2!
NT3 ! CH-FH
Bouak point
10H -13H
JNT4
) atenot is Made to
INTO: dlivide e w : livide
DY TRAP
inteovuptthe TF
- pon attephA s in IP
excuted
bit So that
2: INT 2
3: iNT 3:
ar
Book
INTR NNI
2 oe
INT 2 ivtoouçt
0. vet
rNTR
Page No.
Dat)
INTR)
Suahs NTR
INTR NMI
eotanally disdud nen- maskable
to iut a vet eutenupt
shen activatkd
INTA 2. INTA
do sut vector
Hhe.
data bu
NND:- (Binia to PRAf So%S)
tVe
the NM
Sehm
1DNA)