35.3.5.6. INTEGER CONVERSIONS ON 68K



	
Code			Size	Mnemonic		Description
010010001s000nnn	B,W	EXT	Dn		Dn <- sign_ext(
							  part_of_Dn)


// ----------------------------------------------------------------------

@	
35.3.5.7.	INTEGER CONVERSIONS ON Z80


None Such insturctions, need software code


	Example:
	;  A -> HL
	or	A
	ld	h,0
	jr	p,?1
	dec	h
?1:	ld	l,a


// ----------------------------------------------------------------------


Index Prev Next