OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.20.1/] [gas/] [testsuite/] [gas/] [mips/] [elf-rel11.s] - Rev 205

Compare with Previous | Blame | View Log

	.ent	foo
foo:
	lui	$4,%highest(bar)
	lui	$5,%hi(bar)
	daddiu	$4,$4,%higher(bar)
	daddiu	$5,$5,%lo(bar)
	dsll32	$4,$4,0
	daddu	$4,$4,$5
 
	lui	$4,%highest(bar + 0x12345678)
	lui	$5,%hi(bar + 0x12345678)
	daddiu	$4,$4,%higher(bar + 0x12345678)
	daddiu	$5,$5,%lo(bar + 0x12345678)
	dsll32	$4,$4,0
	daddu	$4,$4,$5
 
	lui	$4,%highest(l1)
	daddiu	$4,$4,%higher(l1)
	dsll	$4,$4,16
	daddiu	$4,$4,%hi(l1)
	dsll	$4,$4,16
	lw	$4,%lo(l1)($4)
	.end	foo
 
	.data
	.word	1,2,3,4
l1:	.word	4,5
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.