0% found this document useful (0 votes)
18 views5 pages

Instructions Execution and Straight Line Sequencing

Instructions execution and straight line sequencing

Uploaded by

alexmercer8843
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
0% found this document useful (0 votes)
18 views5 pages

Instructions Execution and Straight Line Sequencing

Instructions execution and straight line sequencing

Uploaded by

alexmercer8843
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF or read online on Scribd
You are on page 1/ 5
_ Tretyucton Exeuction ¢ ute Line Sopa For the tuk Ce [Al+181- Frye belowthows a bossible Prefer Cement for thes tale as LE appears im the rman Ore rar 4 win Hat had two- asldyes instruction format dank a Number 4 ee urpose CPU ‘ters . Tre three Inatvuctions Of the Progtam Are flared Un Lneeeusine memory Locetims whose COVE Wines Lrlresse AErovounR te tre Oroler Ud Lohith the Uubuctint are te be peyprned haat. at location L. Address Contents Begin . ereumtrehere 4 Move A,Ro instruction tr Add _B,Ro vepram tre Move RoC aa A ] . eq) Date for the prog + e ——— A program joy C& LAI+1B Lek vd Urnder hove Hus Progearn ‘Us executeol The CPU Contos a. vepiston Called the Progen Counter (PL), rohit holda the Adarers 4 ane lutucton te be Cremted Next: Te begin Oren ~teag O progam mite addr of us doit twutrauced (A in Had €4-) Ww be plaved urdlo the Po- Thun the CPU Chuut Ute He Liformatiin uv the Pe do betth and eyeente Instructions, ORE At atime, ut tre Order f Inevensp ada reed. This ‘is Called Shrorpt Line 2equeneura. Ay each Instruction A erecuted,, At PC adlvamced ‘to powrt ty herk Wibruction> Thug TAL move jwAtrucion At lotatem UTL is emecsed, the Po tertning He yale UtB,vohith in he actaren 4 tre fuvit Weboruetion Hh the neat Pre: Segment Scanned with CamScanner he Cpu. Tuo my involve, Performan an Budmeric, oy Lage, opectimr, Stor arom” Vide He ment memor. p0T SOME Combination there baur bperdisns. At tone ount olurwns F tn duo - bhare ceolune , Tee Contents of the Pe, ane advanced Lo pout te fence WADE « WIROA Yl ereate Prare of am mdtructien 1s Comblected j Hie PO Contains Hee addrel4 the next 1) Arch O new Ludtin ction fet plore cone Bape Scanned with CamScanner Bram chung 8 Consists the Dan of Addinia a West 4 nr numben. The, "WU Yown wu’ the ae below: The agldrenes + the locatins Contains numbers Ae Sppmbotutatig en AA NUML,NUM2, © UM and A sebarnte Ado hatrettins 1S wsreot te Bad eotle Rombes “be the Lantentt of otter Ro. AGUA OL the Wumben have been fetta resus in plavect In memany tortion LUM - 4 [Move nomi Ro A+) | Add _Num2, RO AZ | Add Num, Ro lon-) [haa NuMn, Ro vn Move Ro, Sun Sum NUM} Num? Nuttin. A Progen or Raaning Mm Numbere Thstead H waa ee 4 Add Uasbuatbsne , it Pomiubte te prre a Uniple Add weDuction wy Pregum Lserp as Gnoven wi the fo. Ths lb Comses & stradiht-Ude Loqmence, witimurens to be exe cute Yepeact 1 Ab Imaong cH mmed as reeled: “The lwp CART ot Loation LOOP arc enol ot He jnitrucon Ca eat paws throug Heir Loop the doldrens of the het Wet entry i ettemued, Ano ot ty U fetched gurl aided to Ro- Scanned with CamScanner LOOP [petermute. aouavess ef | . JN Ayes 7 Usb Net" nos To Ro 5 jae * Decrement — @ Teles Ro ext nos and Add Move. Ro, uM. ath > O L0OP gy uM N a) NUND NUM Using a Loop to Add WV numbers Aome thet He no locatisn N Ad Lholon. Arttuonurt +14 ho- ConteTs location N OY erctried uy the Ut ri, dtrrel wn Regustee Ri is useel as a Lounter to tures He lp ip exeuted: Here joe are leaded in! Ri atthe ys Hh He Prop Ron, wen dee booty oy yd ny ee Pepeng EY of the Lop tre Pracreteinr VY C¥ecetece He | aves He PU Ney Aoldvew) Qt de Locating; , Us’ fecnentizl o gen etal stone te. Scanned with CamScanner Tn the above Progra the jmern cin @ Brawth >0 LooP Ubraneh ts thon O) caused A branch to Lotatim LOOP. Bran . OCimrs Only Y the vesult of tre Dame cual prececting Initurction , both is the. decremented wane of pegube Qi the Loop ts Vebested as that one thar Zero. Tr menus that as thre Qre entriet Ut the Let be oddest te Ro. At the end y the nh bars Prous: the Loop , the Detrement initreetion Proauces a Value, KAD Aurel hence ‘p Dloes not Occur: Trstercl, pre More teiknutioin iL fetched Ancleyecuteal Th proves the fad yet bym Ro ude memory locates QURI- Scanned with CamScanner

You might also like