GCD of 1 to n by McBusLuck

\x8a55>1\xff>
\xe5

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

Disassemble:

	ORG	00000H

	ADC A,D			;0000	8A 	. 
	DEC (HL)			;0001	35 	5 
	DEC (HL)			;0002	35 	5 
	LD A,031H		;0003	3E 31 	> 1 
	RST 38H			;0005	FF 	. 
	LD A,00AH		;0006	3E 0A 	> . 
	PUSH HL			;0008	E5 	. 

download

return to the top page