;        TITLE   'HELLO.Z80 - Hello World'

        ORG     0100H

BDOS            EQU     0005H   ; BDOS entry address
C_WRITESTR      EQU     9       ; BDOS command to write $ terminated string

HELLO:
        LD      DE,MSG      	; Get address of msg
        LD      C,C_WRITESTR    ; Write string function
        JP      BDOS            ; Go to BDOS to write the string

; Text strings


MSG: 	DB      'Hello World',13,10
		DB		'Created with XA80 cross assembler',13,10
		DB		'---------------------------------',13,10,10
		DB		'Assembled:       ',DATE(),' ',TIME(),13,10
		DB		"Version:         ",VERSION(),13,10
		DB		"Build:           ",BUILD(),13,10
		
		DB		'$'

        END
		