You are on page 1of 6
ersv2017 Programs For 8085 Microprocessor Trainees ‘gle nevgaton Scanttes com + Academic Tutorials + Automat Data Secure ‘Staph Theory Micoprocessor ‘SompllerDesion ‘Computer Graphics acl Algorithm, + Database Concent + Syllabus ate Interview Technical Hee © Gk/Aptitude se Aotiude > McQ © a, Networking + Miscellaneous htp:scantiroe.com/micoprocessor/Programs-For-8085-Microprocessor-Trainees 6 ersv2017 Programs For 8085 Microprocessor Trainees + Calculator Heath ath Developers esi Maker ‘Shoat Shoots £0 Toole = Other Math Formule Microprocessor Inwoducton , , Programs For 8085 Microprocessor Level 2 Microprocessor 8085 > Programming in 8085 rns Count number of one’s in a number rogram Level Programs Level? Statenent: Wits program to count numberof sin the contents of Dregiter and tore the count in vacemcesrs oma sos? 2008) = 4 (2200) = 3 cz202) = 198 (2203) = 708 (2208) = 68 esate = (22024) = 294 kr: ck € her Arrange in ascending order ‘Staterant: Wilt program to srt given 10 numbers from memory location 2200H nthe ascending order: htp:scantiree.com/micoprocessor/Programs-For-8085-Microprocessor-Traineos ersv2017 nov #0 skrP:0ck € ben her Programs For 8085 Microprocessor Trainees initialize counter* “LAE H, 22001: Initialize menory potnter anstialize counter 2 increment nanory pointer compare nunber with next unter" "16 Less, don't antercnange” interchange tae numbers” becrenert counter 2" occrenent counter 3° Terminate progran execution” Calculate the sum of series of even numbers Staterant: Caeult the sum of series of even numbers fom the tof numbers. The length ofthe st {in memory leation 2200H and the sve isl begins from memory location 2201H Assume the sum tobe 8 bitnumber so you can ignore cares an sore the sum st memory location 2210 ar on Sinisiolize counter” “initialize pointer” ase Bit 1 to 887" cet the sun” store result in B register htp:scantiree.com/micoprocessor/Programs-For-8085-Microprocessor-raineos

You might also like