parity of numbers by kodera

\xf9x\x04\xb7>1\xe0=\x0d\xe0v

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

Disassemble:

	ORG	00000H

	LD SP,HL			;0000	F9 	. 
	LD A,B			;0001	78 	X 
	INC B			;0002	04 	. 
	OR A			;0003	B7 	. 
	LD A,031H		;0004	3E 31 	> 1 
	RET PO			;0006	E0 	. 
	DEC A			;0007	3D 	= 
	DEC C			;0008	0D 	. 
	RET PO			;0009	E0 	. 
	HALT			;000A	76 	V 

download

return to the top page