N Queens by kodera

\xcd\x03\x80_\xd60g\xdfv\x96\xc8\xba\xc8\x82\xc8\x14\x04
\xb7 \xf4\x05%(\x1260QD\xe5\xd7\xe14~\xbb \xf6\xc9> \xcd\x00\x80c\xf7\x10\xf7
\xe9

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

Disassemble:

	ORG	00000H

	LD A,(BC)			;0000	0A 	. 
	CALL 08003H		;0001	CD 03 80 	. . . 
	LD E,A			;0004	5F 	_ 
	SUB 030H		;0005	D6 30 	. 0 
	LD H,A			;0007	67 	G 
	RST 18H			;0008	DF 	. 
	HALT			;0009	76 	V 
	SUB (HL)			;000A	96 	. 
	RET Z			;000B	C8 	. 
	CP D			;000C	BA 	. 
	RET Z			;000D	C8 	. 
	ADD A,D			;000E	82 	. 
	RET Z			;000F	C8 	. 
	INC D			;0010	14 	. 
	INC B			;0011	04 	. 
	LD A,(BC)			;0012	0A 	. 
	OR A			;0013	B7 	. 
	JR NZ,$-10		;0014	20 F4 	  . 
	DEC B			;0016	05 	. 
	DEC H			;0017	25 	% 
	JR Z,$+20		;0018	28 12 	( . 
	LD (HL),030H		;001A	36 30 	6 0 
	LD D,C			;001C	51 	Q 
	LD B,H			;001D	44 	D 
	PUSH HL			;001E	E5 	. 
	RST 10H			;001F	D7 	. 
	POP HL			;0020	E1 	. 
	INC (HL)			;0021	34 	4 
	LD A,(HL)			;0022	7E 	~ 
	CP E			;0023	BB 	. 
	JR NZ,$-8		;0024	20 F6 	  . 
	RET			;0026	C9 	. 
	LD A,020H		;0027	3E 20 	>   
	CALL 08000H		;0029	CD 00 80 	. . . 
	LD H,E			;002C	63 	C 
	RST 30H			;002D	F7 	. 
	DJNZ $-7		;002E	10 F7 	. . 
	LD A,(BC)			;0030	0A 	. 
	JP (HL)			;0031	E9 	. 

download

return top