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

Subversion Repositories eco32

[/] [eco32/] [trunk/] [binutils/] [tests-1/] [R16/] [test1.s] - Rev 60

Go to most recent revision | Compare with Previous | Blame | View Log

	.nosyn
 
	.export	C_global
	.import	C_extern
	.export	D_global
	.import	D_extern
	.export	B_global
	.import	B_extern
 
	.code
 
	add	$3,$2,$1
	add	$3,$2,$1
	beq	$2,$1,C_local+10
	beq	$2,$1,C_global+20
	beq	$2,$1,C_extern+30
	beq	$2,$1,D_local+40
	beq	$2,$1,D_global+50
	beq	$2,$1,D_extern+60
	beq	$2,$1,B_local+70
	beq	$2,$1,B_global+80
	beq	$2,$1,B_extern+90
	add	$3,$2,$1
	add	$3,$2,$1
C_local:
	add	$3,$2,$1
C_global:
	add	$3,$2,$1
 
	.data
 
	.word	0x55AA55AA
	.word	0x55AA55AA
	beq	$2,$1,C_local+10
	beq	$2,$1,C_global+20
	beq	$2,$1,C_extern+30
	beq	$2,$1,D_local+40
	beq	$2,$1,D_global+50
	beq	$2,$1,D_extern+60
	beq	$2,$1,B_local+70
	beq	$2,$1,B_global+80
	beq	$2,$1,B_extern+90
	.word	0x55AA55AA
	.word	0x55AA55AA
D_local:
	.word	0x55AA55AA
D_global:
	.word	0x55AA55AA
 
	.bss
 
	.space	0x100
B_local:
	.space	0x100
B_global:
	.space	0x100
 

Go to most recent revision | 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.