buts101
Full Member level 3
Hello guys,
I have written code for interfacing CD-ROM in 8051 assembly language and its working fine. I tried to convert same function of assembly code into C language. But it didn't worked. So I must go with the assembly code for interfacing CDROM. The CD is telephone directory which contains Names and corresponding telephone numbers. The user enters the name of person and my system should search the name and display the corresponding tel. no. in LCD. So, searching string in assembly lang. is being tough for me, so i have to write the seaching code in C. and all other interfacing code for CDROM,Keyboard,LCD in assembly.
Therefore, please help me to understand how to enter C code in assembly program or assembly code in C program.(Some sample code will be a great asset.)
Also, give me some searching algorithm which is easy and efficient to use for my type of strings (names are sorted in ascending order and numbers are tagged in the end of the strings)
Waiting for your reply.
Thank you
Buts101
I have written code for interfacing CD-ROM in 8051 assembly language and its working fine. I tried to convert same function of assembly code into C language. But it didn't worked. So I must go with the assembly code for interfacing CDROM. The CD is telephone directory which contains Names and corresponding telephone numbers. The user enters the name of person and my system should search the name and display the corresponding tel. no. in LCD. So, searching string in assembly lang. is being tough for me, so i have to write the seaching code in C. and all other interfacing code for CDROM,Keyboard,LCD in assembly.
Therefore, please help me to understand how to enter C code in assembly program or assembly code in C program.(Some sample code will be a great asset.)
Also, give me some searching algorithm which is easy and efficient to use for my type of strings (names are sorted in ascending order and numbers are tagged in the end of the strings)
Waiting for your reply.
Thank you
Buts101