	title	Module from library BASE_1 : SUBHD2
	name	('SUBHD2')
	maclib	baselib.lib

; Subtract source from destination

; Copyright (C)	Werner Cirsovius
;		Hohe Weide 44
;		D-20253 Hamburg
;		Tel.: +49-40-4223247

;		Version 2.2 May 1987

; ENTRY	Level 2 : HL points to source
;		  DE points to destination

; EXIT	Flags set as on normal 8 bit subtract

	entry	subhd2

subhd2:
	or	a		; Clear carry
	sbc	hl,de		; Simple subtraction
	ret

	end

