Uploaded by maanazantony08

System software - 5 - KQB KtuQbank

advertisement
O
slemdoltwast-5 i
AM
MA CRO PRE
PROCESSORS
MavcoTesbuchoo
80wn
alehinution Ound capaunstòo
espanded
mau0
Lool
(wnth mauro)
Lompilr
oy
Lool
PMOLtod o
osstra bL
obj
C
MACRO
a
notahonal
notoction
mauio
o
3A
he
PA
allows
a
conNEAhoneH Lonvuirar
um mey
pMogHamouy
w&
o
shouthand
WUUS LoDO
O pHOgMam onodulh pMOgkaoming
the
4eeplacecab
puocisd0
6g uou
wnth
COMHSp ending
mavo
mavto
avocahon
stat
KmanD
v
Subouio
o- s t a t i m t D t
a
AT
mens(ep andng)
eab hmt
eacb
aMe
eapaorLó
o
aue
mavo
ubnouhbe - 4taleme
an
a
XT
ta
matOpMOesLON
ma0
tkinihon
mauo
elpanSion
unvotaton
For More Visit
: KtuQbank.com | Fair Use Policy
mauo
vokd
dubaoutoe
ppean
*Mol
gen Ha ted
DEP INITION JPR0TOTYPE
MA LRO
Mssemblu
aliekou
: MAURO, MEND
ot3nAA
beginnug
nol
maro
mavio def
Panam ites
uith
2
2pl,2p2
MACRO
MALRD-NAmE
stal
panarotus YS3m t94
. .body
stalemeny that unll
be qenurat cd a
MEND
p ars ton
MALRo
MA Uko
).
EXPANSIDN
lasRazass
S TR M A R O
STA
2a1ogassk0s
STB 2az
Pe
TX 2a3
below
sbelou
MEND
OCd
STR
xpanoded
DATA1, DATA2,
STA
STB
STK
S TR
cscrsthda
DATA3
Ds
DATA 1
INVOCATIO
DATA 3
DATAS
OYJA
PnACRo
DATA 2
DATAG
STA
DATAL
DATA4
DATA S
STX
ne
DAT A6
For More Visit : KtuQbank.com | Fair Use Policy
mauio
pes
stattm ent
mauro
pauotoypestatement
moadl
NDTE
:
(body mauro)
statetmeots
puepuocsoY
maveos
olitho
e
nMA LRo , MEND)
defò col
CO PY
8 TART
MOVE
MACRo
dnihon
ug ht a l e y s taut
TNSTR, 20UTSTR,2STRLE N
CLEAR
x
CUEAR
LDX
LDS
Lo OP
190z 8TRLEN.
LDCH
S TCH
2 THSTe
2 oUTSTR,KX
mauo
TIXR
LOoP
MEND
F IRST
ERO
MoVE
x3
STR1, STR 2 ,4
Rmo
T,A
ADD
A2 #J
RmO
movE
END
AT
STR3,STR4,1O
F7RST
For More Visit : KtuQbank.com | Fair Use Policy
maLa0
Ao voraha,
coP
START
FIRST
LDT
EROnst
MovE
STR1, S re 2, 4
9Ysoh
CLEAR
Ss3.c3t
CLEAR
TART B
LbS
3
3vOM
LooP
LDCH
STRI,
STCH
STR
XX
TIXR
LOOP
JUT
RmD
T
A
ADD
RmO
A,T
movE
$TR3,STR4,1o 7 )
X
CLEAR
X
U
L00P
Aepca
A
-
LDX
LDS
aud
3
10
LD CH
S TR3, K
I7cH
S1R2,X
O1ASTIXR
JLT
RO
LDop
For More Visit : KtuQbank.com | Fair Use Policy
FIRST
END
One paSs
Mano puOccs s0
olala
Oe
One
DS
puOces6OH
-Lontas
eDEFTAB
ano
sbuctwes
avd
pass
ACgoutm
and mauro
puototyp
maud
boouy
NAmTAB
Lontaos
ded
be
oauO names
as indlea
to
mano
tab
to
i
alehinitto
ARLATAB- useo
oluniwg
efned,
nbtrudo
pointw
Cootauns
DEFTA
and eod
begrn
DE FTAB
mat
eaparS toN
wvOCahon
wshun
m
ovoked,agumens
auo
A RETA
stonLa
uhtm
aAL
RDBU FP
mauo
eapandd, aHgumst
ds
mauo
6ubsitutcol
body
SART
O
mAuRO
& INDEV ,2 BVFDR ,3 RECLTH
mACRO
TO
READ
NAmTAG
RECORD T
detos
maao
LEAR
X
RD8UF
CLEAR2
cuEAR
meng
096
tuoT
-3
TD
x
TE
*-3
RD
xgINDED
mansJEQ
uoD cwukn
posiho min us compa
2[NDEV
ARnTAB
F
AS
GUFFER
3
3
STCH
2GUFADR
LENUTH
Y
For More Visit : KtuQbank.com | Fair Use Policy
TXR
T
-19
JLT
RECLTu
STX
MEND
DEFTAe
RDBUF
2TNDEv,8 B4
CLEAR
SA
CLEAR
EAR
4 o96
LDT
1D
-21
JeG
3
RD
-71
Co MR
AS
11
STCH
TIXR
LT
K -1
STA
s3.
MEN D
ALLn OR1Tm
mAIN
PROGRAM
Itorathons
o
n ET LINE
PRoCESSLINE
PRO CEDORE
CaETLINE
EXPANDING
qet nut unc
om PEPTAB
Ahen
o
be
pocessed
Else
HLad nent eve
uom INPUT Al
For More Visit : KtuQbank.com | Fair Use Policy
PROCESS LINE
PROLE DU RE
DEFINE
Ex PAND
Oulput s0unt ine
Puoudue
vau
aqument
up
set
ExPAND
mauo
. Expand a
n
ARUTAS
wvoaton
statemtnt ( lske
in ma
p1Od
Ituratons
neT LNE
pROCeSS LINE
PMoceoue
DEFINE
makt
appuopuatt
a nDE
begun
3 mavno
NAmTAB
FALSE
OPLODE
END
d
CnETLINE
coohd PROCESsLINE
end 2 uhil
31JT3)
do
bequn
a
and
puoces4oa
EXPANDIN
wmils
FTA
enbi u s
4
mauno puocs4847o0
PRocwoue
CneTLI NE
begin
EPANDIN
thin
beainqe neat lia
macAO dynhonom DeF7na
6ubstihuu
aAgam ents
pesibonal
notaton
om
RRUTAe
end 4 y
else
en
For
More Visit
ntad
nent : KtuQbank.com | Fair Use Policy
0nET LIE
ine u p input il
POCeodue
begin
staCh
PROLESs LINE
NamTAe
o
pDol
OPCODE MALRs
then
ound then
EXPANp
lse
x
DEFINE
else
wuc
bine
40w1O
to
papdd o
pnd PRO CESS LINe? 3JT3r
pmoLLduse
b
s334
ent
DE PINE
mao
namne
ato NAMTAs
tnter mauopo totype into
DEPTAB
LEVEL =
wniu LEVEL70
do
begnnETLIDE
24A
onment
not
bn
subsh tut
ine e n
posihdnal
antut ioe
notatho
patamctus
o
DEFTAO3
0PLoDE=MAURS
heo
N
LEVEL =LEVEL t4
else A oPCODE
-'ME
ND' tfhen
LEVEL
Lnd
end w i l
to4 in NAmTA3
end
ynChov
not
=LEVEL-I
om mint
.
pointes
beg uon ing
td DEPINE
For More Visit : KtuQbank.com | Fair Use Policy
pMOCedlue
EXPAND
beg in
OgxPANDIN
TROE
mauuo
ttbiest eine
olhinithon puototypt
OEPTAD
mauno
angumershuDp
set
ARnTA
while
mavo
nvoahov
capanded l
do
not
whil
a
d73X
Commenti
a
votatos i
mauo
Uned
do
dahini hoi dlo
bequ
nE1LINE
PROCESS LINE
at
endusnd1
S
EXPANDINL =FALSE
end Ex PAn
O
qA
ested
Mauo
Pehinutoo 7S
MA CRs
mecRo
RDB
MAR0
MEND
RB
mAuRD
MEN D
6A
MEND
Maciot
Todeptoedaot
Conaten
aho
en ratron
Mau
mav
pMOCess04
pauaamtvs
nng ue, leots
A
For More Visit : KtuQbank.com | Fair Use Policy
3)ondition af
mauMO
eapanS cop
Feafues
Featue
4)
ywouol
mano
4) cONCATEWA7Ion
maue
mOst
pawamites
h
roaO_pauamttud
allow pasamelus
pMp@ocMOS
wrth
concadeoattod
be
usey
40
oanb
stuiogs
o ther
set
en ewal
Ae1,
A
X 2 I D 1 , x I D >2
the
coniattnatios
agum
, xTD3
6ymbsl
->
the puOguam,
as
be
con
vauabls
x2,
XA1 ,xA2, XA3
ke
lo
Lo
mau0
operaoy
panatuy
cupid
D A XEID >1D
Sum
mALRo
LDA
x 2 TD >1
ADD
x% ID 2
A DD
2
LDA
AI
ADD
XA
ADD
A3
S TA
xAS
ID3
STA
END
SuM
henvration
e
ADD
xeETA
BETA2
ADD
xBETA8
STA
Ke ETAS
A)LDA9
BETA
SUm
uul LAbus
Ca pag
*Puoblum
shen
assembleu
oos
MOV)
in to
he sCent
PROBLEm
mavno
Call d
tunu
and
eapandeo
whau
For Moreaude
Visit : KtuQbank.com | Fair Use Policy
conhuston
3enu afrg
tab
Sa Y
Gmbo
label anw
o
FIRST
46
eOOP
DO0D
200p
oo9
entues
oluplutati
symb
allow td
nol
ex
co nvurhor
namun9
D00
ol tab
labels
should
be
ws
uelath
adoue
moolificd
Solulnon 1) mavo
epandnq
use eg 1 1
LCH
LDCH
LOoP
STcH
TIXe
TIKR
TLT
odlis adva tage:)
invoked mulhp
maua
- tumu
,
ust
seloh
ob
addh ssiu
ub o n v u e
pHoNe,
tD
Mad
vonvenned, NDA
paone
and
dfbicut
JEG *-3
s
toead
Souhoo
2
wnigue
ewery
label
andle
to
ab ellin q
pmered
makt
nYOcotton
wnth
avto
o
loels
nigue
huoA hatado
wunto
s
numbu
Pb
foy tas
Heplaud Sx
th
alp ha
mauo
numeie
suudhons
enpandd
AA A, AC
bwo
Az
charato
counten
allowsla96
For More Visit : KtuQbank.com | Fair Use Policy
enpanSLoNs
a d
pmogam
TD-XB IN DEV
Loop
Jeion d
St call
cal
ABLOoP TD-x'F
$AA LO OP
IRST
O0OD
AALOOP
ABLOop
NoTE
ths
02
a p a S On
aso
happen
3) Conditona
calld
because
mded
man
tmis
Mauo
condihòna!
maMD - tme
mano puDcssOY
statement
dinuts
@ s E etEeLO-ENDIF
TF-ESE
SET
maoMO
.
n1
Yauables
thal
slat
tmne
4ymbot
not
mano
hat i
and
Amautd
nmevauablis
thev
EDRLk
R DE DFF
ET
aluv
panamitu
be
changed
o
wnth
Doi
&TND, 2 BUAD, &RLE,& ED,EmaX LEN
mACRo
2E6RCK
chavatur
1
se
2EDR
F
2
ae inibals ed O
ca
auables
mauAO t i e
wrth
5ET
NE )
ycdeus
ENDIF
bs tnag
boolean
UnpaCA S tom
For More Visit : KtuQbank.com | Fair Use Policy
stattm n t
oCcuns
at
the
hime
maleOS
aAN
o p analco
h e t e
Juch
3.
bat
deusons
loopu4
mavno
is
DauD gam
asstmbled ,au
buo
mad
statmmn t
avoA
wHILE-ENDW
maOO
pHocseY
NITEmS
na:o
a a m e t ist
n
mtmb
LEDR C00, 03,of)
3
- / ITEMS (2 EoR)
RDBUF
EORCT
mARO
INDEV ,LeUFAD
SET
/-NTTEmslEEOR)
F
R DBUF
Mano
)Keywoua
BUFF ER
LENLDTH, (O 03, b4)
PoMam etey
) posth ona
paamte
a) keurouo
pouametu
)
paamttens
typs
8 RLE, E Go
of
oleh au speukitahon
parametuy
OA3739
POSITION ALPARAMETE
+paHamitvA
w
th
n
matO
pmotokipe
meCto
aguminb
hu
is
as40uafeod
voloatbn
DATR1,OA2
positop
accoMdiio
panametuy
6TR
m ACRO
STA
LA1 & Az
k a l li s
2A1
2A2
STR
A
S10
For More Visit : KtuQbank.com | Fair Use Policy
MENDD
to
auqumint
an
agumtot
/&
o
ustd
be
omitud,a nul
comas)
tonstuuhvt
houlol be
puope oydew
mavtain
m
ato
an vocahion
SIR, 10
MO VE
KEY ORD
PARAmETER
a g u m ent
tach
keyuonod
paHamete
agumest
Vauuk
hat
isswrut
bam
(pauametu
STA
conesp ODAve
algument)
may applato
mAtR20
he
wjth
any aletad
A1,2A3= &A3 =
A
STB
STX
T
&A3
mEND
macoCall
STR
DEFAULT
21 DATA, LAz -DATA3
SPECI FI CATIon
STR n
mALRO
OF
PARAm ETER S
A4 =,2A2 -DATA 2
37A
L2 =DATA 2
se
STB
mENpsh
mauo CallL
For More Visit : KtuQbank.com | Fair Use Policy
8 TR
8A4-D ATAL
o
DROCESsOR DESICN
mncR
mauoexpans iOn
Hecuwsir
e n era
mavno pu DCesdey
pupose
pHoces4Pg
Rewrs wr
mawo
epars uon
Mavto
Invotaton
maUD
wvoaton
-pADss
wnthin
ma
Languaqe
unthn
maeAO
Nsttod
OPTIONS
mauos
LYo Lahon
O
ep onS Lon
MUw1Si
manO
PAcblems
ARn1A B
SouLo
So uhon
Char
Hewrs wr
wmilu
epans Lon
Loop
EXPAND
pMOelue
call
wnth
stat
For More Visit : KtuQbank.com | Fair Use Policy
uansla
Download