postfix to infix by kochi

\xcd\x0b\x00v*/+-\xc3\x00\x80$\x11\x00\x01$k\xcd\x1d\x00\xd8\xcd(\x00>
\xcf\x18\xef\xcd\x03\x80\xd8\xfe
\xc8\x12\x1c\x18\xf5D\x1d\x1a\xfe* \x01\xaf\xfe/ \x02>\x01\xfe+ \x02>\x02\xfe- \x02>\x03w},qo\xb7(\x09\x0c\x0c
\xb7(\x01\x0c}\x02M
\xfe\x048\x12\x0c
O\xc5\x0c\x0c\x0c
\xc1\xb7(\x06y\xb7(\x08\x18\xee,,,,\x18\xb8.\x00U\xc5N\xe5\x1e\xc6,\xcd\x91\x00\xe1y\xfe\x040\x04\xc6\x04_\x1a\xcf\xe5\x1e\xc4\xcd\x91\x00\xe1\xc1\xc9,,~\xb7\xc8o\xcd\xa9\x00\xf50\x03>(\xcf\xcdt\x00\xf1\xd0>)\xcf\xc9~\xfe\x04\xd0y\xfe\x04\xd0\xcb?\x83\x16\x00_y\x87\x87\x86\xe6\x07<G\x1a\x1f\x10\xfd\xc9\xfc\xc0\xcc

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

Disassemble:

	ORG	00000H

	CALL 0000BH		;0000	CD 0B 00 	. . . 
	HALT			;0003	76 	V 
	LD HL,(02B2FH)		;0004	2A 2F 2B 	* / + 
	DEC L			;0007	2D 	- 
	JP 08000H		;0008	C3 00 80 	. . . 
	INC H			;000B	24 	$ 
	LD DE,00100H		;000C	11 00 01 	. . . 
	INC H			;000F	24 	$ 
	LD L,E			;0010	6B 	K 
	CALL 0001DH		;0011	CD 1D 00 	. . . 
	RET C			;0014	D8 	. 
	CALL 00028H		;0015	CD 28 00 	. ( . 
	LD A,00AH		;0018	3E 0A 	> . 
	RST 8			;001A	CF 	. 
	JR $-15		;001B	18 EF 	. . 
	CALL 08003H		;001D	CD 03 80 	. . . 
	RET C			;0020	D8 	. 
	CP 00AH		;0021	FE 0A 	. . 
	RET Z			;0023	C8 	. 
	LD (DE),A			;0024	12 	. 
	INC E			;0025	1C 	. 
	JR $-9		;0026	18 F5 	. . 
	LD B,H			;0028	44 	D 
	DEC E			;0029	1D 	. 
	LD A,(DE)			;002A	1A 	. 
	CP 02AH		;002B	FE 2A 	. * 
	JR NZ,$+3		;002D	20 01 	  . 
	XOR A			;002F	AF 	. 
	CP 02FH		;0030	FE 2F 	. / 
	JR NZ,$+4		;0032	20 02 	  . 
	LD A,001H		;0034	3E 01 	> . 
	CP 02BH		;0036	FE 2B 	. + 
	JR NZ,$+4		;0038	20 02 	  . 
	LD A,002H		;003A	3E 02 	> . 
	CP 02DH		;003C	FE 2D 	. - 
	JR NZ,$+4		;003E	20 02 	  . 
	LD A,003H		;0040	3E 03 	> . 
	LD (HL),A			;0042	77 	W 
	LD A,L			;0043	7D 	} 
	INC L			;0044	2C 	, 
	LD (HL),C			;0045	71 	Q 
	LD L,A			;0046	6F 	O 
	OR A			;0047	B7 	. 
	JR Z,$+11		;0048	28 09 	( . 
	INC C			;004A	0C 	. 
	INC C			;004B	0C 	. 
	LD A,(BC)			;004C	0A 	. 
	OR A			;004D	B7 	. 
	JR Z,$+3		;004E	28 01 	( . 
	INC C			;0050	0C 	. 
	LD A,L			;0051	7D 	} 
	LD (BC),A			;0052	02 	. 
	LD C,L			;0053	4D 	M 
	LD A,(BC)			;0054	0A 	. 
	CP 004H		;0055	FE 04 	. . 
	JR C,$+20		;0057	38 12 	8 . 
	INC C			;0059	0C 	. 
	LD A,(BC)			;005A	0A 	. 
	LD C,A			;005B	4F 	O 
	PUSH BC			;005C	C5 	. 
	INC C			;005D	0C 	. 
	INC C			;005E	0C 	. 
	INC C			;005F	0C 	. 
	LD A,(BC)			;0060	0A 	. 
	POP BC			;0061	C1 	. 
	OR A			;0062	B7 	. 
	JR Z,$+8		;0063	28 06 	( . 
	LD A,C			;0065	79 	Y 
	OR A			;0066	B7 	. 
	JR Z,$+10		;0067	28 08 	( . 
	JR $-16		;0069	18 EE 	. . 
	INC L			;006B	2C 	, 
	INC L			;006C	2C 	, 
	INC L			;006D	2C 	, 
	INC L			;006E	2C 	, 
	JR $-70		;006F	18 B8 	. . 
	LD L,000H		;0071	2E 00 	. . 
	LD D,L			;0073	55 	U 
	PUSH BC			;0074	C5 	. 
	LD C,(HL)			;0075	4E 	N 
	PUSH HL			;0076	E5 	. 
	LD E,0C6H		;0077	1E C6 	. . 
	INC L			;0079	2C 	, 
	CALL 00091H		;007A	CD 91 00 	. . . 
	POP HL			;007D	E1 	. 
	LD A,C			;007E	79 	Y 
	CP 004H		;007F	FE 04 	. . 
	JR NC,$+6		;0081	30 04 	0 . 
	ADD A,004H		;0083	C6 04 	. . 
	LD E,A			;0085	5F 	_ 
	LD A,(DE)			;0086	1A 	. 
	RST 8			;0087	CF 	. 
	PUSH HL			;0088	E5 	. 
	LD E,0C4H		;0089	1E C4 	. . 
	CALL 00091H		;008B	CD 91 00 	. . . 
	POP HL			;008E	E1 	. 
	POP BC			;008F	C1 	. 
	RET			;0090	C9 	. 
	INC L			;0091	2C 	, 
	INC L			;0092	2C 	, 
	LD A,(HL)			;0093	7E 	~ 
	OR A			;0094	B7 	. 
	RET Z			;0095	C8 	. 
	LD L,A			;0096	6F 	O 
	CALL 000A9H		;0097	CD A9 00 	. . . 
	PUSH AF			;009A	F5 	. 
	JR NC,$+5		;009B	30 03 	0 . 
	LD A,028H		;009D	3E 28 	> ( 
	RST 8			;009F	CF 	. 
	CALL 00074H		;00A0	CD 74 00 	. T . 
	POP AF			;00A3	F1 	. 
	RET NC			;00A4	D0 	. 
	LD A,029H		;00A5	3E 29 	> ) 
	RST 8			;00A7	CF 	. 
	RET			;00A8	C9 	. 
	LD A,(HL)			;00A9	7E 	~ 
	CP 004H		;00AA	FE 04 	. . 
	RET NC			;00AC	D0 	. 
	LD A,C			;00AD	79 	Y 
	CP 004H		;00AE	FE 04 	. . 
	RET NC			;00B0	D0 	. 
	SRL A		;00B1	CB 3F 	. ? 
	ADD A,E			;00B3	83 	. 
	LD D,000H		;00B4	16 00 	. . 
	LD E,A			;00B6	5F 	_ 
	LD A,C			;00B7	79 	Y 
	ADD A,A			;00B8	87 	. 
	ADD A,A			;00B9	87 	. 
	ADD A,(HL)			;00BA	86 	. 
	AND 007H		;00BB	E6 07 	. . 
	INC A			;00BD	3C 	< 
	LD B,A			;00BE	47 	G 
	LD A,(DE)			;00BF	1A 	. 
	RRA			;00C0	1F 	. 
	DJNZ $-1		;00C1	10 FD 	. . 
	RET			;00C3	C9 	. 
	CALL M,0CCC0H		;00C4	FC C0 CC 	. . . 

download

return top