Sierpinski Carpet by kodera

\x06\xaa\xcd\x03\x80\xc6\xeconUe\xe7\xa0_\xeb\xe7\xeb\xa3\xef$ \xf8>
\xff\x14 \xeev\xfc\xf0\xc0z\xa0\x0f\xb2W\x87\xaa\xc9>:\xf5\xf5\xc8> \xc9

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

Disassemble:

	ORG	00000H

	LD B,0AAH		;0000	06 AA 	. . 
	CALL 08003H		;0002	CD 03 80 	. . . 
	ADD A,0ECH		;0005	C6 EC 	. . 
	LD L,A			;0007	6F 	O 
	LD L,(HL)			;0008	6E 	N 
	LD D,L			;0009	55 	U 
	LD H,L			;000A	65 	E 
	RST 20H			;000B	E7 	. 
	AND B			;000C	A0 	. 
	LD E,A			;000D	5F 	_ 
	EX DE,HL			;000E	EB 	. 
	RST 20H			;000F	E7 	. 
	EX DE,HL			;0010	EB 	. 
	AND E			;0011	A3 	. 
	RST 28H			;0012	EF 	. 
	INC H			;0013	24 	$ 
	JR NZ,$-6		;0014	20 F8 	  . 
	LD A,00AH		;0016	3E 0A 	> . 
	RST 38H			;0018	FF 	. 
	INC D			;0019	14 	. 
	JR NZ,$-16		;001A	20 EE 	  . 
	HALT			;001C	76 	V 
	CALL M,0C0F0H		;001D	FC F0 C0 	. . . 
	LD A,D			;0020	7A 	Z 
	AND B			;0021	A0 	. 
	RRCA			;0022	0F 	. 
	OR D			;0023	B2 	. 
	LD D,A			;0024	57 	W 
	ADD A,A			;0025	87 	. 
	XOR D			;0026	AA 	. 
	RET			;0027	C9 	. 
	LD A,03AH		;0028	3E 3A 	> : 
	PUSH AF			;002A	F5 	. 
	PUSH AF			;002B	F5 	. 
	RET Z			;002C	C8 	. 
	LD A,020H		;002D	3E 20 	>   
	RET			;002F	C9 	. 

download

return top