OpenCores
URL https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk

Subversion Repositories openrisc_2011-10-31

[/] [openrisc/] [trunk/] [gnu-src/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [all/] [altmacro.s] - Rev 38

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

.macro	m1 v1, v2
	LOCAL l1, l2
label&v1:
l1:	.byte	v1
label&v2:
l2:	.byte	v2
.endm
 
.macro	m2 v1, v2
	m1 %(v1), %(v2-v1)
.endm
 
.macro	m3 str
	.ascii	&str
.endm
 
	.data
 
m2	1, 3
m2	9, 27
 
m3	"abc"
m3	<"1", "23">
 
	.noaltmacro
 
.macro	m4 str
	.ascii	"&str"
.endm
 
m4	"!!<>'"
 
	.altmacro
 
m3	"!!<>'"
 

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.