Himanshu,
Well for that I
don't think that you will get the code in C but instead what you can do
is contact any 8086 kit vendor and ask him for the Assembly code..he will
surely help you with all the interfacing architectures...
The place to start is with the data sheet of the LCD display device, this
should provide the information as to what kind of interface is required
and the format of the data sent to the device. I haven't actually worked
with any LCD devices but I think there are two types. One has a built in
character set with fixed positions for each, the other would be some kind
of element matrix where the user can determine images or characters by
implementing combinations of bits. In either case they usually require
a continuous string of data since they are multiplexed, one set of bits
is turned on, then the next, and the next, etc. The process is not difficult
to understand but there is great diversity in interface strategies.
Jim