A86: Will this work?


[Prev][Next][Index][Thread]

A86: Will this work?




Say I want to multiply the value in A by 128 and store the result in HL.  Will
this work?

	ld		h,a
	ld		l,0					;hl = a * 256
	srl		h
	jr		nc,No_Carry
	set		7,l
No_Carry:


Follow-Ups: