Count diamonds level 2 by kodera

\xe5\x06\x14\xcd\x03\x800\x01v\xfe*\xcb\x130\xf4(\x0b{\xc6@\xe2\x03\x00\x10\xea>1\x18>t\x90\x0f\xff>

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

Disassemble:

	ORG	00000H

	PUSH HL			;0000	E5 	. 
	LD B,014H		;0001	06 14 	. . 
	CALL 08003H		;0003	CD 03 80 	. . . 
	JR NC,$+3		;0006	30 01 	0 . 
	HALT			;0008	76 	V 
	CP 02AH		;0009	FE 2A 	. * 
	RL E		;000B	CB 13 	. . 
	JR NC,$-10		;000D	30 F4 	0 . 
	JR Z,$+13		;000F	28 0B 	( . 
	LD A,E			;0011	7B 	{ 
	ADD A,040H		;0012	C6 40 	. @ 
	JP PO,00003H		;0014	E2 03 00 	. . . 
	DJNZ $-20		;0017	10 EA 	. . 
	LD A,031H		;0019	3E 31 	> 1 
	JR $+64		;001B	18 3E 	. > 
	LD (HL),H			;001D	74 	T 
	SUB B			;001E	90 	. 
	RRCA			;001F	0F 	. 
	RST 38H			;0020	FF 	. 
	LD A,00AH		;0021	3E 0A 	> . 

download

return top