Binary Multiplication by ySas

\x01\x08\x11\x1c\xcd\x03\x80)\x1f0\x01\x19\x0d \x01\xeb\x10\xf2\x06\x08\xcb%\x17\xff\x0f\x10\xf9v

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

Disassemble:

	ORG	00000H

	LD BC,01108H		;0000	01 08 11 	. . . 
	INC E			;0003	1C 	. 
	CALL 08003H		;0004	CD 03 80 	. . . 
	ADD HL,HL			;0007	29 	) 
	RRA			;0008	1F 	. 
	JR NC,$+3		;0009	30 01 	0 . 
	ADD HL,DE			;000B	19 	. 
	DEC C			;000C	0D 	. 
	JR NZ,$+3		;000D	20 01 	  . 
	EX DE,HL			;000F	EB 	. 
	DJNZ $-12		;0010	10 F2 	. . 
	LD B,008H		;0012	06 08 	. . 
	SLA L		;0014	CB 25 	. % 
	RLA			;0016	17 	. 
	RST 38H			;0017	FF 	. 
	RRCA			;0018	0F 	. 
	DJNZ $-5		;0019	10 F9 	. . 
	HALT			;001B	76 	V 

download

return top