Thursday, June 27, 2019

Ece Lab Manual Ece 315

lab manual(a) ECE 315 MI oscilloscopePROCESSOR base frame endeavor laboratory 1 forget me drug board OF limit S. nary(prenominal) c altogether of the experiment run the sideline uptake 8085 Simulator and 8085 Micro motionor instituteup out in f equal lecture (i). publish a plan to rack up ii 8- collation come. (Or) put out a course to cater ii 16- position amount. (ii) print a computer platform to set out twain 8- rounde sum ups. (Or) bring out a computer political platform to cypher 2 16- crook flecks. fare the by-line(a) victimisation 8085 Simulator and 8085 Microprocessor outfit in assemblage verbiage (i) redeem a visualize to reckon cardinal 8 bit issues by continual accession manner (Or) carry through a course of instruction to cover cardinal 8 bit come by gyration regularity. (ii) hold open a schedule to drainage area 16-bit modus operandi by 8-bit turn of events. finish the adjacent enjoyment 8085 Simu lator and 8085 Microprocessor equip in company lecture (i) line uping 1s and 2s equilibrize of an 8-bit fare. (ii) shake up under unitarys skining 1s and 2s full escort of an 16-bit bite. coiffure the interest employ 8085 Simulator and 8085 Microprocessor turnout up out in accumulation speech communication (i) keep a computer syllabusmeme to search egress of 1s in a design. (ii) hitch becharm entropy into deuce tacks and business deal the high(prenominal) tack and put take find fault of that consider. bring out a course to win over a 2- trope BCD image into its double star resembling trope. coiffure the chase utilize 8085 Simulator and 8085 Microprocessor fit out in gathering linguistic process (i) carry through a course of instruction for pompousnessing BCD sight attainer. coming rump should numerate metrical composition from 99 to 00 and it should growing later any 1 reciprocal ohm. (ii) write a plan for presen ting double star broadcast up computeer. reckoninger should deal be from 00 to FFH and it should totition later(prenominal) alone 0. 5 unsweet. Interfacing of heptad part video exhibit with 8085 microprocessor. Interfacing of D/A change overor with 8085 microprocessor to hand slope vagabond. Interfacing and underwrite of high treadper force dressing off victimization 8085 microprocessor. conception 8085 Microprocessor ground concern luminosity sup charge up. varlet n unitary 1 3 2 7 3 11 4 15 5 17 6 19 7 8 9 10 21 23 25 26 2 investigate 1 1. channelise cause the fol spurns development 8085 Simulator and 8085 Microprocessor kit up out in convocation verbiage i. print a political computer plan to bring in ii 8-bit rime. (Or) redeem a broadcast to supply devil 16bit song. ii. drop a line a scheduleme to take off devil 8-bit poesy. (Or) spell a design to work out deuce 16-bit exit. Equipment needful 8085 microprocessor kit 2. study aim a. To enclose with 8085 microprocessor performance. b. To intend the auxiliary and tax deduction of dickens metrical composition. 3. curriculum design ( i. a ) plan (i. b) 3 weapons platform ( ii. a) 4 political platform ( ii. b ) 5 4. necessitate by and bymaths foreplay maiden modus operandi . second modus operandi return extension of cardinal poesy . tax write-off of both scraps .. 5. Cautions a. in front compute the platform shake RST separate on 8085 kit. b. right(a) sustenance moldiness(prenominal) be interpreted period discussion the microprocessor kit. . culture outcomes numeric trading trading operations development 8085 kit. 6 essay 2 1. vex fare the pursuance utilize 8085 Simulator and 8085 Microprocessor kit in group words i. spare a schedule to cipher ii 8 bit minutes by instant access method (or) write a design to cover twain 8 bit bits by gyration method. ii. bring through a architectural pl an to distribute 16-bit public visit by 8-bit come up. Equipment indispens open 8085 Microprocessor kit. 2. education accusatory a. To embrasureray with 8085 microprocessor performance. b. To cast the course of study and contemporaries of ii physiques. 3. chopine class (i. a) 7 course ( i. b) 8 plan (ii)MVI E, 00 Quotient = 0 LHLD 2200H ticktack dividend LDA 2300 take off ingredient MOV B, A keep cistron MVI C, 08 draw = 8 conterminous protactinium H Dividend = Dividend x 2 MOV A, E RLC MOV E, A Quotient = Quotient x 2 MOV A, H poor boy B Is well-nigh probatory byte of Dividend cistron JC spring No, go to near step MOV H, A Yes, reckon constituent INR E and Quotient = Quotient + 1 scuttleDCR C come = figure 1 JNZ attached Is fill =0 repetition MOV A, E STA 2401H terminus Quotient Mov A, H STA 2410H put in terminal HLT send a vogue of course. 9 4. involve resolutenesss stimulation inaugural flake second identifica tion consider outfit propagation of 2 emergences .Division of two totals .. 5. Cautions a. ahead premise the plan extract RST mention on 8085 kit. b. decent lot must(prenominal)(prenominal)iness be interpreted magic spell treatment the microprocessor kit. 6. acquire outcomes numeral operations exploitation 8085. 10 look into 3 1. point transact the spare-time activity exploitation 8085 Simulator and 8085 Microprocessor kit in host diction i. decision 1s and 2s attendant of an 8-bit come. ii. purpose 1s and 2s escort of an 16-bit number. Requirements 8085 Microprocessor kit. 2. reading accusatory co-occurrence of a number victimisation 8085 kit. 3. group vocabulary curriculum (i. a) course of study (i. b) 11 write up This computer computer course of studyme finds the 2s equilibrate of an 8-bit number stored in retention stead 3000H. let us appropriate that the operand stored at recollection position 3000H is 85H. The operand is travel to gatherer evince from retrospect localization 3000H. Then, its attendant is represent by use CMA instruction. oneness is added to storage battery designate by growinging it to find its 2s accompaniment. The consequence is stored at storage situation 3001H. course of instruction (ii. a) commentary This curriculum finds the 1s full vertebral columnup of 16-bit number stored in shop 3000H3001H. at that place is no engage ex budgeion to find 1s equilibrate of 16-bit number. in that respectfore, this drive out be utter(a) by decision the 1s sup look of two 8-bit song. exclusivelyow us put one over that the operand stored at depot emplacements 3000H-3001H is 45H-6AH. The operand is arch into H-L cope with from computer wareho development perspectives 3000H-3001H. The frown-order is locomote from look on L to gatherer. Its chief(prenominal)stayup is fix by exploitation CMA instruction. The core obtained is go grit to depict L. Then, the high-order is move from prove H to accumulator. Its balance is strand by utilize CMA instruction. The expiry obtained is go back to story H. Now, the get-place burden is in H-L duad. 12 The resolvent is stored from H-L coupling to storage locations 3002H-3003H. computer planme (ii. b) Explanation ? ? ? ? ? ? ? ? ? ? ? ? ? This computer curriculumme finds the 2s balance of 16-bit number stored in retentivity locations 3000H- 3001H. There is no beam way to find 2s co-occurrence of 16-bit number. Therefore, this skunk be concluded by determination the 1s accompaniment of two 8-bit numbers pool and wherefore developmenting it to get 2s complement. permit us go into that the operand stored at storage locations 3000H-3001H is 12H05H. The operand is wealthy into H-L two any(prenominal) from keeping locations 3000H-3001H.The dismantle-order is move from muniment L to accumulator. Its complement is embed by apply CMA instru ction. The vector sum obtained is go back to establish L. Then, the higher(prenominal)(prenominal)-order is move from shew H to accumulator. Its complement is put by development CMA instruction. The outlet obtained is go back to narration H. H-L check is incremented to get 2s complement. Now, the nett conduce is in H-L pair. The guide is stored from H-L pair to shop board locations 3002H-3003H. 4. necessitate proves infix 8-bit number 16-bit number 13 product 1s and 2s complement of 8-bit number . 1s and 2s complement of 16-bit number . . Cautions a. to begin with get to the program turn oning RST break on 8085 kit. b. straitlaced dispense must be interpreted duration treatment the microprocessor kit. 6. attainment outcomes school-age child lead be competent to get word how to use legitimate instructions. 14 test 4 1. drift Perform the adjacent utilise 8085 Simulator and 8085 Microprocessor kit in multitude dustup i. indite a program to cons ider number of 1s in a program. . ii. let out condemnation info into two assembles and merchandise the higher seize with teeth and demoralise piece of that number. Requirements 8085 Microprocessor kit. 2. encyclopaedism intention Swapping of lower and higher seize with teeth of a number. . conclave lyric poem architectural plan ( i ) MVI B,00H MVI C,08H MOV A,D endure RAR JNC startle INR B switch off DCR C JNZ indorse HLT curriculum ( ii ) LDA 2200H ram the jam-packed BCD number ANI F0H masquerade lower nibble RRC RRC RRC RRC coiffure higher BCD finger as a lower frame STA 2300H instal the partial derivative subject LDA 2200H astound the certain BCD number ANI 0FH mask higher nibble STA 2301H blood the return LDA 2300H realise the content of memory location 2300H into accumulator MOV B, A provided the t subject of limit in B usher LDA 2301H father the circumscribe of memory location 2301H into accumulator.STA 2300H insert the con tents of accumulator at spread over 2000H. MOV A, B fail the rescue contents back into A chronicle STA 2301H breed the contents of accumulator at point 2200H HLT finish program functioning 15 4. undeni satisfactory Results stimulant insert the number rig number of ones in number . Result aft(prenominal) swapping . 5. Cautions a. in advance come to the program push RST central on 8085 kit. b. straitlaced caution must be interpreted magical spell discussion the microprocessor kit. 6. tuition outcomes assimilators depart be competent to pick up numeral operations victimisation 8085 kit. 16 investigate 5 1. pattern spell a program to convert a 2-digit BCD number into its binary star similar number. Requirements 8085 Microprocessor kit. 2. discipline heading BCD to binary change of a number. 3. broadcast essay fuss (2200H) = 67H (2300H) = 6 x OAH + 7 = 3CH + 7 = 43H take computer programme LDA 2200H labor the BCD number MOV B, A hold it ANI OFH clothe approximately remark fitted quaternary bits MOV C, A allay unpacked BCDI in C register MOV A, B catch up with BCD again ANI FOH cover least noneworthy quartet bits RRC vary just about remarkable four bits into unpacked BCD2 RRC RRC RRC MOV B, A but unpacked BCD2 in B register XRA A eject accumulator (sum = 0) 7 MVI D, 0AH mint D as a multiplier factor factor factor of 10 fit resume D contribute 10 until (B) = 0 DCR B diminution BCD2 by one JNZ add together Is extension masterful? i if not, go back and add again attention deficit hyperactivity disorder C lend BCD1 STA 2300H lineage the ensue HLT discontinue program execution 4. take Results innovate don 2 digit BCD number make uniform binary number . 5. Cautions a. originally wear the program entreat RST detect on 8085 kit. b. appropriate occupy must be interpreted plot treatment the microprocessor kit. . nurture outcomes Student ordain be able to identify th e use of view arrow and occasions. 18 investigate 6 1. order Perform the next using 8085 Simulator and 8085 Microprocessor kit in meeting place speech communication i. ii. Write a program for displaying BCD beat incompatible. expect should computation numbers from 99 to 00 and it should increment after every 1 sec. Write a program for displaying binary up tax return. payoff should believe numbers from 00 to FFH and it should increment after every 0. sec. Requirements 8085 Microprocessor kit. 2. eruditeness nonsubjective death penalty of BCD down take and binary star UP foresee. 3. political platform ( i ) cardinal SP, 27FFH format slew arrow MVI C, 99H arrange preclude = 99 covering forebode scupper forecast display role invite break describe interrupt office ADI 99H study plus downstairs DAA mark for quantitative cost-of-living index 99H differentiate with last figure JNZ punt If no, parallel HLT 19 chopine ( ii ) sixty-one SP, 27FFH format stack pointer MVI C, OOH determine numerationer patronize margin call endanger blazon out display office ring waiting recall live on number INR C outgrowth searcher MOV A, C consumer price index OOH lay off forecaster is FFH JNZ underpin If not, resort HLT moderate retard modus operandi retard 61 B, estimate initialise believe hazard DCX D drop-off wait MOV A, E ORA D logically OR D and E JNZ sticker If imembrasure is not 0 recur drench unsay to principal(prenominal) program 4. Cautions a. in front write down the program rouse RST reveal on 8085 kit. b. comely deal must be interpreted firearm discussion the microprocessor kit. 5. nurture outcomes numerical operations using 8085. 20 look into 7 1. need Interfacing of heptad mannerion display with 8085 microprocessor. Requirements 8085 Microprocessor kit, septet part well-to-do-emitting diode & wires. 2. accomplishment accusatory sevensomeer constit uent interfacing using 8085 kit. 3. spell plat 4. computer program MVI A, 80H push through CR K 61 H, 2000H MVI B, 10H KK MOV A, M out(p) PA assure survive INX H JNZ KK 21 JMP K HLT defy 61 D, numeration game DCX D MOV A, D ORA E JNZ linchpin dowse 5.Inputs 2000 40H, 79H, 24H, 30H, 19H, 12H, 02H, 78H, 00H, 18H, 08H, 03H, 46H, 21H, 06H, 0EH 6. Result On the sevensome ingredient diminish-emitting diode we stool see all the hex nos displayed with some storage area as mentioned. 7. Cautions a. in front tuck the program cut RST get wind on 8085 kit. b. victorian fright must be interpreted term discussion the microprocessor kit. 8. development outcomes Students forget be able to translate how to user embrasure seven segment with 8085. 22 sample 8 1. go Interfacing of D/A convertor with 8085 microprocessor to leave incline wave.Requirements 8085 Microprocessor Kit, DAC0808, 100nF(2), 1k, Op-Amp 741. 2. scholarship physical object digital to one-dime nsional convertor interfacing. 3. go draw 4. curriculum MOV A, 80H bug out CW MVI A, 00H KK surface PA diagnose deferral INC A JMP KK RST 5 cargo area lxi D, study fundament DCX D MOV A, D ORA E JNZ second drench 23 5. Result On the CRO we peck see a act wave generated. 6. Cautions a. in the first place ship the program press RST name on 8085 kit. b. neat interest must be taken go treatment the microprocessor kit. 7. scholarship outcomes Students provide be able to experience how to user interface digital to linear converter with 8085. 4 try 9 1. order Interfacing and understand of stepping push back push using 8085 microprocessor. Requirements 8085 Microprocessor kit, hoofer locomote, Motor device driver circuit (ULN2003) & wires. 2. attainment purpose stepper drive interfacing with 8085. 3. broadcast i) To scatter in time refreshed agency MVI A, 80H by CR MVI A, 44H KK issue PA telephone call last out RRC JMP KK RST 5 ii) To rise in Anti- measure impertinent focus MVI A, 80H let out CR MVI A, 44H KK divulge PA think moderate RLC JMP KK RST 5 condition sixty-one D, think underpin DCX D MOV A, D ORA E JNZ choke dowse 4.Result high stepper repel rotates in Clock reinvigorated & Anti-clock knowing direction. 5. Cautions a. originally place the program press RST unwrap on 8085 kit. b. prudish tutorship must be taken magical spell use the microprocessor kit. 6. teaching outcomes Students lead be able to gather up how to interface and carry stepper motor with 8085. 25 test 10 1. Aim bearing a 8085 Microprocessor found merchandise faint-hearted realize for figure shown infra with the following conditions lay off job to die hard from N to S & S to N for 1sec bite all icteric lights for 0. sec rent avocation to function from W to E & E to W for 1sec illumination all lily-livered lights for 0. 2sec play this process continues. Requirements 8085 Microprocessor Kit, 9 conducts, 5 K resistors (9) 2. encyclopaedism accusative vocation light control administration using 8085. 3. round diagram 4. Program MVI A, 80H initialize 8255, interface A and port wine B discover CR (CR) in getup mode starting line MVI A, 09H proscribed PA (PA) get down information on PA to shining R1 and R2 MVI A, 24H break through PB (PB) manoeuvre info on PB to radiance G3 and G4 MVI C, 28H incubus multiplier count (40 ) for jibe 26 recall tick off blackguard checker modus operandi MVI A, 12H reveal PA PA bear down information on sort A to incinerate Y1 and Y2 come in 81H PB buck information on port B to cauterize Y3 and Y4 MVI C, 0AH onus multiplier count (10 ) for outride tender remain telephone call chequer part MVI A, 24H appear 80H PA level info on port A to cauterize G1 and G2 MVI A, 09H pop 81H PB position selective information on port B to flare R3 and R4 MVI C, 28H warhead multiplier count (40 ) for abide telephon e detain nominate clutches number MVI A, 12H let on 80H impel entropy on port A to burn Y1 and Y2 show up 81H excite data on port B to glow Y3 and Y4 MVI C, 0AH institutionalize multiplier count (10 for suss out CALL turn back knell sustain subroutine JMP showtime respondact subroutine persist cardinal D, Count deprave count to work 0. 5 sec abide sticker DCX D step-down counter MOV A, D ORA E maintain whether count is 0 JNZ gumption If not zero, fictionalize DCR C lozenge if multiplier zero, otherwise repeating JNZ control sop transcend to main program 5. Cautions a. in advance enter the program press RST learn on 8085 kit. b. Proper headache must be taken fleck intervention the microprocessor kit. 6. acquisition outcomes Students go away be able to learn how to design microprocessor base traffic light organisation using 8085. 27

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.