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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [arm/] [immed.s] - Rev 816

Compare with Previous | Blame | View Log

@	Tests for complex immediate expressions - none of these need 
@	relocations
	.text
bar:
	mov	r0, #0
	mov	r0, #(. - bar - 8)
	ldr	r0, bar
	ldr	r0, [pc, # (bar - . -8)]
	.space 4096
	mov	r0, #(. - bar - 8) & 0xff
	ldr	r0, [pc, # (bar - . -8) & 0xff]
 
	@ section padding for a.out's benefit
	nop
	nop

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.