This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Using #define OUTBUF $10 in gas? (naming a register)



am trying to use a text symbol to refer to a register using 
spu-as..
 
For example I would like to do 
something like this:
 
#define INBUF 
$10
 
lqd $11, 
0(INBUF)
 
is this possible in 
gas?
 

The above program does 
not work. Gas gives âExpecting: âlqd REG, imm(reg)â
 
Thanks!






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]