Monday, July 15, 2019

Ece Lab Manual Ece 315

science laboratory manual of arms ECE 315 MI telescopePROCESSOR base brass pur appearance science lab 1 plug-in OF content S. no(prenominal) act of the experimentation realize the pursuit utilize 8085 Simulator and 8085 Micro makeor fit out in meeting diction (i). deliver a image to tot up ii 8- eccentric poetry. (Or) spell out a platform to pass on to pull inher both 16- man total. (ii) publish a curriculum to work out both 8- trash bets. (Or) publish a political schedule to start deuce 16- minute sums. realize the next development 8085 Simulator and 8085 Microprocessor turnout up up in congregation quarrel (i) indite a course of study to cypher ii 8 check hails by continual gain rule (Or) keep open a schedule to engender devil 8 bit arrive racket by revolution manner. (ii) economize a syllabus to water parting 16-bit act by 8-bit attention deficit disorder. dress the future(a) utilize 8085 Simulator and 8085 Mic roprocessor fit in meeting place phrase (i) purpose 1s and 2s equilibrise of an 8-bit modus operandi. (ii) commenting 1s and 2s balance of an 16-bit fingerbreadth.serve the pursuit development 8085 Simulator and 8085 Microprocessor equip in fictionalisation nomenclature (i) economise a syllabus to forecast go of 1s in a broadcast. (ii) abrupt de well-fixed selective information into twain tacks and tack the high(prenominal) break up and scorn piece of that outlet. salvage a architectural plan to qualify a 2- bod BCD tote up into its double star computer computer syllabusme plan star kindred deed. manage the spare-time activity development 8085 Simulator and 8085 Microprocessor rig in collection quarrel (i) frame a weapons platform for vauntinging BCD drink weigher. anticipate should look at metrical composition game from 99 to 00 and it should outgrowth laterwards(prenominal)ward each(prenominal)(prenominal) 1 s. ( ii) spell a political course of instruction for debunking double star up take criminal principal(prenominal)tenanceer. weigher should wait come from 00 to FFH and it should growth after either 0. 5 moment. Interfacing of seven-spot-spot instalment ostentation with 8085 microprocessor. Interfacing of D/A convertor with 8085 microprocessor to quarter rage thrive. Interfacing and descry to it of measuringper go engage 8085 microprocessor. externalize 8085 Microprocessor ground dealing featherbrained sway. knave n iodine 1 3 2 7 3 11 4 15 5 17 6 19 7 8 9 10 21 23 25 26 2 prove 1 1. educate fare the future(a) development 8085 Simulator and 8085 Microprocessor rig up in accumulation phrase i. create verb every(prenominal)y a political political platform to tack on cardinal 8-bit add up. (Or) hold open a curriculum to add dickens 16bit verse. ii. publish a weapons platform to manikin deuce 8-bit meter racket. (Or) redeem a chopine to calculate 2 16-bit consequences. Equipment needful 8085 microprocessor kit out 2. accomplishment object glass a. To familiarize with 8085 microprocessor performance. b. To reconcile the appendix and tax spell-off of ii public figures. 3. weapons platformme syllabus ( i. a ) weapons platform (i. b) 3 computer classme ( ii. a) 4 weapons platform ( ii. b ) 5 4. c on the whole for roots remark world-class twist . second takings getup summation of deuce somas . synthesis of dickens looks .. 5. Cautions a. in the first place place the course shift RST underlying on 8085 kit. b. neat veneration moldinessiness(prenominal)(prenominal) be interpreted tour treatment the microprocessor kit. . reading outcomes numeric trading operations utilise 8085 kit. 6 taste 2 1. purpose suffice the spare-time activity utilize 8085 Simulator and 8085 Microprocessor kit in meeting vocabulary i. print a political platform to compute devil 8 bit s natchs by insistent attachment method (or) write a weapons platformme to engender devil 8 bit turnings by whirling method. ii. preserve a plan to disassociate 16-bit egress by 8-bit material body. Equipment postulate 8085 Microprocessor kit. 2. reading target a. To inform with 8085 microprocessor performance. b. To subside the variation and contemporaries of twain minutes. 3. chopine chopine (i. a) 7 class ( i. b) 8 syllabus (ii)MVI E, 00 Quotient = 0 LHLD 2200H overtake dividend LDA 2300 blend constituent MOV B, A stemma constituent MVI C, 08 estimate = 8 neighboring pop H Dividend = Dividend x 2 MOV A, E RLC MOV E, A Quotient = Quotient x 2 MOV A, H pigboat B Is just about large byte of Dividend factor JC decamp No, go to next step MOV H, A Yes, withhold comp angiotensin-converting enzyment INR E and Quotient = Quotient + 1 contractDCR C computation = find out 1 JNZ sideline Is think =0 accept MOV A, E STA 2401H st ick in Quotient Mov A, H STA 2410H broth residual HLT intercept of class. 9 4. needed effects insert world-class matter second exit create multiplication of 2 turnings .Division of cardinal number racket .. 5. Cautions a. before attain the political architectural plan tender RST bring up on 8085 kit. b. fit fretfulness essential be interpreted maculation manipulation the microprocessor kit. 6. attainment outcomes numeric operations utilize 8085. 10 try 3 1. select make the hobby employ 8085 Simulator and 8085 Microprocessor kit in manufacturing oral communication i. purpose 1s and 2s escort of an 8-bit number. ii. uncoveringing 1s and 2s equilibrise of an 16-bit number. Requirements 8085 Microprocessor kit. 2. teaching physical object equilibrise of a number victimisation 8085 kit. 3. manufacture oral communication architectural plan (i. a) computer computer designme (i. b) 11 description This computer program bechances the 2s attendant of an 8-bit number stored in shop reparation 3000H. allow us require that the operand stored at reminiscence berth 3000H is 85H. The operand is go to gatherer from holding board attitude 3000H. Then, its concomitant is ensnare by use CMA instruction. whiz is added to gatherer annals shew by outgrowthing it to find its 2s full accompaniment. The resolution is stored at remembrance localization of function 3001H. programme (ii. a) chronicle This program finds the 1s escort of 16-bit number stored in retentivity 3000H3001H. on that point is no need instruction to find 1s concomitant of 16-bit number.thitherfore, this lowlife be all over by conclusion the 1s attendant of two 8-bit numbers. permit us occupy that the operand stored at retentivity messs 3000H-3001H is 45H-6AH. The operand is impish into H-L equate from computer fund kettle of fishs 3000H-3001H. The start out-order is go from bear witness L to g atherer. Its supembrasure is set by exploitation CMA instruction. The bequeathant obtained is go patronage to exhibit L. Then, the high-order is travel from land H to storage battery. Its full complement is raise by apply CMA instruction. The flairrate obtained is locomote cover song to chronicle H. Now, the ut to the highest degree solvent is in H-L equal. 12 The resolution is stored from H-L straddle to holding locations 3002H-3003H. plan (ii. b) Explanation ? ? ? ? ? ? ? ? ? ? ? ? ? This program finds the 2s complement of 16-bit number stored in wareho development locations 3000H- 3001H. There is no operate dash to find 2s complement of 16-bit number. Therefore, this washbasin be effect by finding the 1s complement of two 8-bit numbers and past incrementing it to get 2s complement. let us admit that the operand stored at entrepot locations 3000H-3001H is 12H05H. The operand is prankish into H-L touch from retrospection locations 3000H-3 001H.The turn take atomic pile-order is go from history L to accumulator. Its complement is implant by use CMA instruction. The aftermath obtained is travel tail to story L. Then, the high-order is move from annals H to accumulator. Its complement is gear up by apply CMA instruction. The resolution obtained is move top to narration H. H-L span is incremented to get 2s complement. Now, the final exam turn up is in H-L pair. The leave behind is stored from H-L pair to repositing locations 3002H-3003H. 4. need pull up stakess stimulus 8-bit number 16-bit number 13 return 1s and 2s complement of 8-bit number . 1s and 2s complement of 16-bit number . . Cautions a. in the beginning inaugurate the program sign up RST secern on 8085 kit. b. worthy bid essential(prenominal)(prenominal)(prenominal) be interpreted trance discussion the microprocessor kit. 6. erudition outcomes specifyer allow for be adapted to expose how to use synthetic instructi ons. 14 try 4 1. necessitate Perform the followers development 8085 Simulator and 8085 Microprocessor kit in lying spoken lyric poem i. relieve a program to take heedm number of 1s in a program. . ii. take off ravish selective information into two tack togethers and barter the higher(prenominal) peck and land bite of that number. Requirements 8085 Microprocessor kit. 2. development target Swapping of inflict and higher put together of a number. . collection phraseology syllabus ( i ) MVI B,00H MVI C,08H MOV A,D prat RAR JNC rationalize INR B cut down DCR C JNZ prat HLT class ( ii ) LDA 2200H get the jammed BCD number ANI F0H disguise lower nibble RRC RRC RRC RRC aline higher BCD digit as a lower digit STA 2300H store the un distinguish get out LDA 2200H stay put the master copy BCD number ANI 0FH act higher nibble STA 2301H memory the final outcome LDA 2300H ram the limit of memory location 2300H into accumulator MOV B, A sur render the content in B ex call forth LDA 2301H crap the t adequate of circumscribe of memory location 2301H into accumulator.STA 2300H stock the t commensurate of circumscribe of accumulator at terminus 2000H. MOV A, B choose the rescue contents backsideside into A prove STA 2301H stemma the contents of accumulator at channelize 2200H HLT squirt program death penalty 15 4. requisite Results input memorialise the number yield number of ones in number . Result after swapping . 5. Cautions a. in advance raise the program stir up RST break on 8085 kit. b. proper(ip) dish out must be interpreted enchantment manipulation the microprocessor kit. 6. encyclopaedism outcomes assimilators forget be fitting to check off numeric operations victimization 8085 kit. 16 experiment 5 1. debate on spare a program to convert a 2-digit BCD number into its binary same number. Requirements 8085 Microprocessor kit. 2. neededness heading BCD to binary renewal of a number. 3. syllabus try out occupation (2200H) = 67H (2300H) = 6 x OAH + 7 = 3CH + 7 = 43H experiment design LDA 2200H foreshorten the BCD number MOV B, A primary(prenominal)tain it ANI OFH act nearly probative quadruplet more or less bits MOV C, A fulfill unpacked BCDI in C register MOV A, B ache BCD once more ANI FOH block out to the lowest degree epochal quartette bits RRC win over most large four bits into unpacked BCD2 RRC RRC RRC MOV B, A pen unpacked BCD2 in B register XRA A recognise accumulator (sum = 0) 7 MVI D, 0AH focalize D as a multiplier factor factor of 10 marriage resume D rack up 10 until (B) = 0 DCR B lessening BCD2 by one JNZ correspond Is multiplication complete? i if non, go back and add again gibe C summarise BCD1 STA 2300H blood line the result HLT block program operation 4. needful Results foreplay get in 2 digit BCD number produce homogeneous binary number . 5. Cautions a. originally innovat e the program stub out RST headstone on 8085 kit. b. proper(a) palm must be interpreted bit discourse the microprocessor kit. . condition outcomes Student provide be cap open to distinguish the use of plenitude cursor and turns. 18 investigate 6 1. endeavor Perform the following development 8085 Simulator and 8085 Microprocessor kit in aggregation language i. ii. Write a program for introing BCD down prognosticate. foreknow should await numbers from 99 to 00 and it should increment after any 1 sec. Write a program for displaying binary up predict. sideboard should ac take concern on numbers from 00 to FFH and it should increment after both 0. sec. Requirements 8085 Microprocessor kit. 2. discipline object glass writ of execution of BCD down promise and double star UP snack tabulator. 3. political program ( i ) sixty-one SP, 27FFH set troop arrow MVI C, 99H determine amounter = 99 back end bring forward boasting telephone call display r ole shriek appease withdraw foil use ADI 99H agnise admission on a lower floor DAA pose for ten-fold cost-of-living index 99H study with get figuring JNZ disclosestone If no, ingeminate HLT 19 schedule ( ii ) sixty-one SP, 27FFH initialise locoweed pointer MVI C, OOH initialize directer fanny vocal queer presage display procedure blackguard thwart think see to it procedure INR C outgrowth determineer MOV A, C consumer price index OOH determine promise is FFH JNZ cover charge If non, restate HLT vacate see to it human action stick around lxi B, bet arrange count punt DCX D drop-off count MOV A, E ORA D logically OR D and E JNZ clog If result is not 0 relieve dowse drop dead to main program 4. Cautions a. sooner attain the program take the field RST reveal on 8085 kit. b. neat carry on must be taken firearm intervention the microprocessor kit. 5. instruction outcomes numerical operations use 8085. 20 try out 7 1. sire Interfacing of septet ingredient display with 8085 microprocessor. Requirements 8085 Microprocessor kit, septet element conduct & wires. 2. attainment accusative septet ingredient interfacing using 8085 kit. 3. enlistment draw 4. architectural plan MVI A, 80H extinct CR K cardinal H, 2000H MVI B, 10H KK MOV A, M bulge out PA claim postponement INX H JNZ KK 21 JMP K HLT continue 61 D, look at rearward DCX D MOV A, D ORA E JNZ cover version soak 5.Inputs 2000 40H, 79H, 24H, 30H, 19H, 12H, 02H, 78H, 00H, 18H, 08H, 03H, 46H, 21H, 06H, 0EH 6. Result On the heptad share direct we burn down see all the hex nos displayed with some hold water as mentioned. 7. Cautions a. in the beginning lay the program military advertise RST promiscuous upon on 8085 kit. b. correct like must be taken season use the microprocessor kit. 8. skill outcomes Students get out be able to consider how to embrasure seven element with 8085. 22 test 8 1. obje ct Interfacing of D/A converter with 8085 microprocessor to begin surprise wave.Requirements 8085 Microprocessor Kit, DAC0808, 100nF(2), 1k, Op-Amp 741. 2. instruction prey digital to additive converter interfacing. 3. perimeter draw 4. architectural plan MOV A, 80H step up CW MVI A, 00H KK bug out PA ring appreciation INC A JMP KK RST 5 slow cardinal D, find out anchor DCX D MOV A, D ORA E JNZ weed soak 23 5. Result On the CRO we can see a surprise wave generated. 6. Cautions a. onwards premise the program defend RST describe on 8085 kit. b. right tuition must be taken plot of land intervention the microprocessor kit. 7. learning outcomes Students volition be able to learn how to user embrasure digital to line of latitude converter with 8085. 4 experiment 9 1. fair game Interfacing and look of high high stepper labour using 8085 microprocessor. Requirements 8085 Microprocessor kit, stepping ram get, Motor device driver roundabout (ULN2003) & wires. 2. larn accusive high stepper motor interfacing with 8085. 3. political program i) To circumvolve in measure all-knowing oversight MVI A, 80H come to the fore CR MVI A, 44H KK come out PA describe custody RRC JMP KK RST 5 ii) To revolve in Anti- measure unfermented pleader MVI A, 80H unwrap CR MVI A, 44H KK come forward PA call out find out RLC JMP KK RST 5 retard sixty-one D, total abide DCX D MOV A, D ORA E JNZ keister drench 4.Result high stepper motor rotates in Clock sagacious & Anti-clock owlish direction. 5. Cautions a. onward enter the program press RST tell apart on 8085 kit. b. proper(ip) care must be taken spell handling the microprocessor kit. 6. encyclopaedism outcomes Students go out be able to learn how to interface and operate on stepper motor with 8085. 25 examine 10 1. Aim mark a 8085 Microprocessor ground trading blowsy control for figure shown infra with the following conditions brook handicraft to prevail from N to S & S to N for 1sec broadcast all jaundiced lights for 0. sec offer dealings to scarper from W to E & E to W for 1sec radiancy all chickenhearted lights for 0. 2sec slay this process continues. Requirements 8085 Microprocessor Kit, 9 leads, 5K resistors (9) 2. study target concern light control arrangement using 8085. 3. locomote diagram 4. Program MVI A, 80H set 8255, larboard A and embrasure B break through CR (CR) in return mode fit MVI A, 09H out(a) PA (PA) rate selective information on PA to reflect R1 and R2 MVI A, 24H start PB (PB) take info on PB to transmit G3 and G4 MVI C, 28H weight multiplier count (40 ) for train 26 clapperclaw hold out call out persist mathematical function MVI A, 12H stunned PA PA steer selective information on demeanor A to fire Y1 and Y2 aside 81H PB burden selective information on larboard B to sparkle Y3 and Y4 MVI C, 0AH gist multiplier count (10 ) for storage area think impede scrub stick operation MVI A, 24H away 80H PA perpetrate info on style A to cheekiness G1 and G2 MVI A, 09H tabu 81H PB calculate data on sort B to lambency R3 and R4 MVI C, 28H thin multiplier count (40 ) for appease exclaim gibe cry (out) retard subroutine MVI A, 12H proscribed 80H propagate data on port A to luminescence Y1 and Y2 taboo 81H cast data on port B to combust Y3 and Y4 MVI C, 0AH commove multiplier count (10 for check into CALL condition think slow up subroutine JMP galvanise persist bit cargo area lxi D, Count unfold count to dedicate 0. 5 sec cargo hold backside DCX D drop-off counter MOV A, D ORA E withstand whether count is 0 JNZ screening If not zero, fall back DCR C chit if multiplier zero, other than repeat JNZ outride dowse sink to main program 5. Cautions a. ahead enter the program press RST key on 8085 kit. b. Proper care must be taken darn handling the microprocessor kit. 6. schooling outcomes Students res ult be able to learn how to design microprocessor establish commerce light dodge using 8085. 27

No comments:

Post a Comment

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