;Z80 LCD text display test program ;M. Eric Carr / Drexel University ;mec82@drexel.edu ;Outputs "Hello, World!" to an LCD display; ;control port is at I/O address 0x00 and ;data port is at I/O address 0x01. ;(Display self-initializes; cursor is at beginning ; of first line of text.) ;(Data output operation accomplished with a single OTIR instruction!) 0000 0E ;LD C, 0x01 0001 01 0002 06 ;LD B, 0x0F 0003 0F 0004 21 ;LD HL, 0x000C 0005 0C 0006 00 0007 ED ;OTIR 0008 B3 0009 C3 ;JMP 0x09 000A 09 000B 00 ;"Hello, World!" data 000C 22 000D 48 000E 65 000F 6c 0010 6c 0011 6f 0012 2c 0013 20 0014 57 0015 6f 0016 72 0017 6c 0018 64 0019 21 001A 22