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

Subversion Repositories openrisc

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

Compare with Previous | Blame | View Log

# Source file used to test the lca macro.
 
	.data
data_label:
	.extern big_external_data_label,1000
	.extern small_external_data_label,1
	.comm big_external_common,1000
	.comm small_external_common,1
	.lcomm big_local_common,1000
	.lcomm small_local_common,1
 
	.text
	lca	$4,0
	lca	$4,1
	lca	$4,0x8000
	lca	$4,-0x8000
	lca	$4,0x10000
	lca	$4,0x1a5a5
	lca	$4,0($5)
	lca	$4,1($5)
	lca	$4,0x8000($5)
	lca	$4,-0x8000($5)
	lca	$4,0x10000($5)
	lca	$4,0x1a5a5($5)
	lca	$4,data_label
	lca	$4,big_external_data_label
	lca	$4,small_external_data_label
	lca	$4,big_external_common
	lca	$4,small_external_common
	lca	$4,big_local_common
	lca	$4,small_local_common
	lca	$4,data_label+1
	lca	$4,big_external_data_label+1
	lca	$4,small_external_data_label+1
	lca	$4,big_external_common+1
	lca	$4,small_external_common+1
	lca	$4,big_local_common+1
	lca	$4,small_local_common+1
	lca	$4,data_label+0x8000
	lca	$4,big_external_data_label+0x8000
	lca	$4,small_external_data_label+0x8000
	lca	$4,big_external_common+0x8000
	lca	$4,small_external_common+0x8000
	lca	$4,big_local_common+0x8000
	lca	$4,small_local_common+0x8000
	lca	$4,data_label-0x8000
	lca	$4,big_external_data_label-0x8000
	lca	$4,small_external_data_label-0x8000
	lca	$4,big_external_common-0x8000
	lca	$4,small_external_common-0x8000
	lca	$4,big_local_common-0x8000
	lca	$4,small_local_common-0x8000
	lca	$4,data_label+0x10000
	lca	$4,big_external_data_label+0x10000
	lca	$4,small_external_data_label+0x10000
	lca	$4,big_external_common+0x10000
	lca	$4,small_external_common+0x10000
	lca	$4,big_local_common+0x10000
	lca	$4,small_local_common+0x10000
	lca	$4,data_label+0x1a5a5
	lca	$4,big_external_data_label+0x1a5a5
	lca	$4,small_external_data_label+0x1a5a5
	lca	$4,big_external_common+0x1a5a5
	lca	$4,small_external_common+0x1a5a5
	lca	$4,big_local_common+0x1a5a5
	lca	$4,small_local_common+0x1a5a5
	lca	$4,data_label($5)
	lca	$4,big_external_data_label($5)
	lca	$4,small_external_data_label($5)
	lca	$4,big_external_common($5)
	lca	$4,small_external_common($5)
	lca	$4,big_local_common($5)
	lca	$4,small_local_common($5)
	lca	$4,data_label+1($5)
	lca	$4,big_external_data_label+1($5)
	lca	$4,small_external_data_label+1($5)
	lca	$4,big_external_common+1($5)
	lca	$4,small_external_common+1($5)
	lca	$4,big_local_common+1($5)
	lca	$4,small_local_common+1($5)
	lca	$4,data_label+0x8000($5)
	lca	$4,big_external_data_label+0x8000($5)
	lca	$4,small_external_data_label+0x8000($5)
	lca	$4,big_external_common+0x8000($5)
	lca	$4,small_external_common+0x8000($5)
	lca	$4,big_local_common+0x8000($5)
	lca	$4,small_local_common+0x8000($5)
	lca	$4,data_label-0x8000($5)
	lca	$4,big_external_data_label-0x8000($5)
	lca	$4,small_external_data_label-0x8000($5)
	lca	$4,big_external_common-0x8000($5)
	lca	$4,small_external_common-0x8000($5)
	lca	$4,big_local_common-0x8000($5)
	lca	$4,small_local_common-0x8000($5)
	lca	$4,data_label+0x10000($5)
	lca	$4,big_external_data_label+0x10000($5)
	lca	$4,small_external_data_label+0x10000($5)
	lca	$4,big_external_common+0x10000($5)
	lca	$4,small_external_common+0x10000($5)
	lca	$4,big_local_common+0x10000($5)
	lca	$4,small_local_common+0x10000($5)
	lca	$4,data_label+0x1a5a5($5)
	lca	$4,big_external_data_label+0x1a5a5($5)
	lca	$4,small_external_data_label+0x1a5a5($5)
	lca	$4,big_external_common+0x1a5a5($5)
	lca	$4,small_external_common+0x1a5a5($5)
	lca	$4,big_local_common+0x1a5a5($5)
	lca	$4,small_local_common+0x1a5a5($5)
 
# Force at least 8 (non-delay-slot) zero bytes, to make 'objdump' print ...
	.space  8
 

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.