
xdata char msg1[]="abc";
xdata char msg2[]="def";
void main()
{
   init_8255();
   init_lcd();
   lcd_open_backlight();
   lcd_cursor_on();

   // here, i suppose to write "abc" to the first row
   lcd_print(10, 0, msg1);
   // here, i suppose to write "def" to the second row
   lcd_print(10, 1, msg2);

   strcpy(msg1, "ghi");
   strcpy(msg2, "ijk");

   // here, i suppose to write "ghi" to the 3rd row
   lcd_print(10, 2, msg1);
   // here, i suppose to write "ijk" to the 4th row
   lcd_print(10, 3, msg2);

   while (1);
}
