You are on page 1of 1
E3814: Electrical Engineering Laboratory Ii Users Online: 4 1.478085 programis given asfolows. MvlAHes ours MvlaHoo LoorsourH40 DMP Lab Quis ourwat INRA JMPLOOP RTs “The 8255in the microprocessor thas the folowing addresses: PORTA H40, PORTS. 1H, PORTC- #42, Control Word H'3, 2255 intrfaced toa DAC thraugh PORTA and PORTE. Te waveform generated atthe DACS' outputs Man score 1: No. scores 0.9: Your score 8 Sentoatrwive BE Squerevave Sinewave BE Tranguiarwove a2 88085 prozramisgivenasfollws MvlAHes ourHas Mwiaitoo Loor:ourH4o NOP Nop Nop Nop INRA IMP LOOP srs [An Bbit DAC i connected ta PORTA 8255 nthe mcrapracessar kit 2255 haste {allowing addresses, PORTA. H'40,Contrl Word H'43. The 8085 IC has a quartcrystal ‘ofS MHafor clock generation. The frequency of tecutput waveform f the Isclase > Max score: 2; Ne. scare: 66; Your score-0.88 wm osssHe vm 28H i 156H2 mm oss7He {Q3.An8-bit DAC circ produces unipolar output between OV (minimum) and ¥ (maximum) Aigtal byte of 65His fed tothe cal datainzutof the DAC. Te outout ofthe DAC creuit wil be Mac score: 1: Ne. scare: 0.3 Your score: vm tv mi 1sv m izv maw {Q4 The faloning roam sexecutedin the 88S micronrocessorkitftheexoerinent ‘ssumne that 8255 PORTA connected to an 6 DAC crelt 3255 PORTA has an adress ‘of H0 ond the Conrl Wordhas on edressot 43, Mviante9 ours wR, Loopt: our #40 INRA cri INZLOOPL, Loop: our #40 cra, INZLOOP2 JMPLOORL ast ‘Assure thatthe 8085 ICisconnected to crystal of SMHe for lock generation. The ‘frequency af the output wavefo‘mof the DAC when the program soxcuted, 5 Mae score 3: Neg. scare: 1: Your score: We 26H: vim atte mise Wm sist {QS The machinecycles for theinstnction OUTH41 ae Ma score: 1: Ne, scare: 0.8 Your score vm oF MRIOW IH OF MR.IOR oF MR OF 1oR.IOW {6 The current outoutsof@ DAC arefestoanop-anp circu shown nthe figure. Ghen tet Pe1amAand yg=36¥, R Thevaluect Ris Ma score ts Neg, scores 038: Your score i 923k0%m i 276k0%m Vm 12310%m BH 461komm Q7 One cl of anotset sine wavets digitized andisstoredin thememory as an B-bit binary ruber, over 128 menor keatons Te maximum ate minimum valves these wave dre FFH andO0H respective fthe starting menary address ofthe sine waveis@100H Iwrion stores the value erresooncing tO dea), the content of the memory soressB130H inex Ma score: 2 Neg. score: 66: Yourscove:2 ie hac vm HOA mm He9 nce Score: 434

You might also like