Bracket Matching by kodera

!\x00\xf0\xf9\x06
x\xcd\x03\x80w,\xb8 \xf7- \x01vQi\xe5~\xb8(#\xf5#_\x0f\xab\x0f0\xf4\xf1\xf1\xab\xa4(\xee\xf7+\xeb\x18\x19EOL
\x1eN\x1a\x13\xb8\xd8\xcd\x00\x80 \xf7\xc9\xf1\x07\x1eJ8\x03\xf7\x1e-\xcd3\x00\xc7yes
failed at: 

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

Disassemble:

	ORG	00000H

	LD HL,0F000H		;0000	21 00 F0 	! . . 
	LD SP,HL			;0003	F9 	. 
	LD B,00AH		;0004	06 0A 	. . 
	LD A,B			;0006	78 	X 
	CALL 08003H		;0007	CD 03 80 	. . . 
	LD (HL),A			;000A	77 	W 
	INC L			;000B	2C 	, 
	CP B			;000C	B8 	. 
	JR NZ,$-7		;000D	20 F7 	  . 
	DEC L			;000F	2D 	- 
	JR NZ,$+3		;0010	20 01 	  . 
	HALT			;0012	76 	V 
	LD D,C			;0013	51 	Q 
	LD L,C			;0014	69 	I 
	PUSH HL			;0015	E5 	. 
	LD A,(HL)			;0016	7E 	~ 
	CP B			;0017	B8 	. 
	JR Z,$+37		;0018	28 23 	( # 
	PUSH AF			;001A	F5 	. 
	INC HL			;001B	23 	# 
	LD E,A			;001C	5F 	_ 
	RRCA			;001D	0F 	. 
	XOR E			;001E	AB 	. 
	RRCA			;001F	0F 	. 
	JR NC,$-10		;0020	30 F4 	0 . 
	POP AF			;0022	F1 	. 
	POP AF			;0023	F1 	. 
	XOR E			;0024	AB 	. 
	AND H			;0025	A4 	. 
	JR Z,$-16		;0026	28 EE 	( . 
	RST 30H			;0028	F7 	. 
	DEC HL			;0029	2B 	+ 
	EX DE,HL			;002A	EB 	. 
	JR $+27		;002B	18 19 	. . 
	LD B,L			;002D	45 	E 
	LD C,A			;002E	4F 	O 
	LD C,H			;002F	4C 	L 
	LD A,(BC)			;0030	0A 	. 
	LD E,04EH		;0031	1E 4E 	. N 
	LD A,(DE)			;0033	1A 	. 
	INC DE			;0034	13 	. 
	CP B			;0035	B8 	. 
	RET C			;0036	D8 	. 
	CALL 08000H		;0037	CD 00 80 	. . . 
	JR NZ,$-7		;003A	20 F7 	  . 
	RET			;003C	C9 	. 
	POP AF			;003D	F1 	. 
	RLCA			;003E	07 	. 
	LD E,04AH		;003F	1E 4A 	. J 
	JR C,$+5		;0041	38 03 	8 . 
	RST 30H			;0043	F7 	. 
	LD E,02DH		;0044	1E 2D 	. - 
	CALL 00033H		;0046	CD 33 00 	. 3 . 
	RST 0			;0049	C7 	. 
	LD A,C			;004A	79 	Y 
	LD H,L			;004B	65 	E 
	LD (HL),E			;004C	73 	S 
	LD A,(BC)			;004D	0A 	. 
	LD H,(HL)			;004E	66 	F 
	LD H,C			;004F	61 	A 
	LD L,C			;0050	69 	I 
	LD L,H			;0051	6C 	L 
	LD H,L			;0052	65 	E 
	LD H,H			;0053	64 	D 
	JR NZ,$+99		;0054	20 61 	  A 
	LD (HL),H			;0056	74 	T 
	DEFB 03AH,020H		;0057	3A 20 	:   

download

return top