microprosseser 8085 program

3
Microprocessors 1 Programs on CD 8085 Programs Program File Name To store 8-bit data in registers Programa1.d oc Exchange the contents of memory locations Programa2.d oc Add two 8-bit numbers Programa3.d oc Subtract two 8-bit numbers Programa4.d oc Add two 16-bit numbers Programa5.d oc Subtract two 16-bit numbers Programa6.d oc To Find 1's complement of a number Programa7.d oc Find 2's complement of a number Programa8.d oc Program to mask lower nibble Programa9.d oc Program to mask upper nibble Programa10. doc Add two 8-bit BCD numbers Programa11. doc Add two 16 bit BCD numbers Programa12. doc Program to calculate the sum of series of 8 bit numbers assuming sum to be 8 bit Programa13. doc Program to calculate the sum of series of 8 bit numbers assuming sum to be 16 bit. Programa14. doc

Upload: manpreet-kaur

Post on 19-Aug-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Microprocessors 1Programs on CD8085 ProgramsProgram File NameTo store 8-bit data in registers Programa1.docExchange the contents of memory locations Programa2.docAdd two 8-bit numbers Programa3.docubtracttwo 8-bit numbers Programa!.docAddtwo 1"-bit numbers Programa#.docubtract two 1"-bit numbers Programa".docTo $ind 1%s com&lement of a number Programa'.doc$ind 2%s com&lement of a number Programa8.docProgram to mas( lower nibble Programa).docProgram to mas( u&&er nibble Programa1*.docAdd two 8-bit+,- numbers Programa11.docAdd two 1" bit +,- numbers Programa12.docProgramto calculate the sum of series of 8 bitnumbers assuming sum to be 8 bit Programa13.docProgramto calculate the sum of series of 8 bit numbers assuming sum to be 1"bit.Programa1!.docProgram to sort the numbers in ascending order Programa1#.docProgram to sort the numbers in descending order Programa1".doc.ulti&ly two 8 bit numbers using successi/e addition method Programa1'.docTransfer abloc(of 0 bytesfromsource todestination10on o/erla&&ed bloc(transfer2Programa18.doc-i/ide 1" bit number by an 8 bit number Programa1).docProgram to find the number of negati/e numbers in the array Programa2*.docProgram to find maximum number in the array Programa21.docProgram to &ac( the two un&ac(ed +,- numbers Programa22.docProgram to un&ac( the &ac(ed +,- number Programa23.docProgram to shift data within 8 bit register Programa2!.docProgram to shift data within 1" bit register Programa2#.docProgram to leftshift data within 1"bit register Programa2".doc,ount the number of 13s in a register Programa2'.docMicroprocessors 2Program File NameTo ,alculate the sum of series of e/en numbers Programa28.docTore/ersethecontentsofbloc(of0bytesandtransferthemfromsourcetodestinationPrograma2).docTo find the s4uare ofnumbers Programa3*.docProgram to find minimum5smallest number in the array Programa31.doc