Do not use.
LCD_CTRL = 0xF0;
LD LCD_CTRL, #0F0h
Enters a test mode for the driver. Presumably not meant to be used when an LCD is attached. Docs say not to use it and give no explanation as to how it works.
Use NOP to exit test mode.