Veltas/zenv

Optimizing zero_equals

Opened this issue · 0 comments

	HEADER zero_equals, "0=", 0
zero_equals:
	LD A, L
	OR H
	JR NZ, zero_literal.zero
	DEC HL
	JP next

	HEADER zero_literal, "0", 0
zero_literal:
	PUSH HL
.zero:	
        LD HL, 0
	JP next