Re: Simple question about powerpc asm.

2009-07-18 Thread Valentine
Wolfgang Denk wrote: Dear Valentine, In message <4a61a48d.8060...@ru.mvista.com> you wrote: PowerPC instructions are 32-bit long. So, there are only 16 bits available within the instruction for constant values. Since address can be up to 64 bits, we have to load it a piece at a time. The "@" w

Re: Simple question about powerpc asm.

2009-07-18 Thread Wolfgang Denk
Dear Valentine, In message <4a61a48d.8060...@ru.mvista.com> you wrote: > > PowerPC instructions are 32-bit long. So, there are only 16 bits > available within the instruction for constant values. Since address can > be up to 64 bits, we have to load it a piece at a time. The "@" within > the as

Re: Simple question about powerpc asm.

2009-07-18 Thread Valentine
HongWoo Lee wrote: Hi all, I was reading kernel level source and found this macro. #define SET_REG_TO_LABEL(reg, label)\ lis reg,(label)@highest;\ ori reg,reg,(label)@higher; \ rldicr reg,reg,32,31; \

Simple question about powerpc asm.

2009-07-18 Thread HongWoo Lee
Hi all, I was reading kernel level source and found this macro. #define SET_REG_TO_LABEL(reg, label)\ lis reg,(label)@highest;\ ori reg,reg,(label)@higher; \ rldicr reg,reg,32,31; \ orisreg,reg,