Tower of Hanoi by kodera

%\x16]\x01\[\xe7v\xfe0\xc8=YHC\xcfr%q$+ZPAK\xcfZQK<\xc9\x00\xcd\x03\x80\xcf6$%~\xd6\x1a0\xff# \xf8

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

Disassemble:

	ORG	00000H

	DEC H			;0000	25 	% 
	LD D,05DH		;0001	16 5D 	. ] 
	LD BC,05B5CH		;0003	01 5C 5B 	. \ [ 
	RST 20H			;0006	E7 	. 
	HALT			;0007	76 	V 
	CP 030H		;0008	FE 30 	. 0 
	RET Z			;000A	C8 	. 
	DEC A			;000B	3D 	= 
	LD E,C			;000C	59 	Y 
	LD C,B			;000D	48 	H 
	LD B,E			;000E	43 	C 
	RST 8			;000F	CF 	. 
	LD (HL),D			;0010	72 	R 
	DEC H			;0011	25 	% 
	LD (HL),C			;0012	71 	Q 
	INC H			;0013	24 	$ 
	DEC HL			;0014	2B 	+ 
	LD E,D			;0015	5A 	Z 
	LD D,B			;0016	50 	P 
	LD B,C			;0017	41 	A 
	LD C,E			;0018	4B 	K 
	RST 8			;0019	CF 	. 
	LD E,D			;001A	5A 	Z 
	LD D,C			;001B	51 	Q 
	LD C,E			;001C	4B 	K 
	INC A			;001D	3C 	< 
	RET			;001E	C9 	. 
	NOP			;001F	00 	. 
	CALL 08003H		;0020	CD 03 80 	. . . 
	RST 8			;0023	CF 	. 
	LD (HL),024H		;0024	36 24 	6 $ 
	DEC H			;0026	25 	% 
	LD A,(HL)			;0027	7E 	~ 
	SUB 01AH		;0028	D6 1A 	. . 
	JR NC,$+1		;002A	30 FF 	0 . 
	INC HL			;002C	23 	# 
	JR NZ,$-6		;002D	20 F8 	  . 

download

return top