> > >Look up _dispHL! > > Let's say I want to display register a. How can I load a into hl? ld > hl,a > gives an unused data segment error. HL is a 16 bit register, A is a 8 bit register: they have diferent 'types'... to load a into hl you could use the folowing codes: ld l,a ; load a into lower byte of HL ld h,0 ; fill higher byte of HL with zeros