What does %c mean in GCC inline assembly code?

From the GCC internals documentation : `%c*digit*' can be used to substitute an operand that is a constant value without the syntax that normally indicates an immediate operand.

From the GCC internals documentation: `%c*digit*' can be used to substitute an operand that is a constant value without the syntax that normally indicates an immediate operand.

Check the assembly output (with gcc -S, or maybe disassemble the object file) and it may be clearer. My guess is that it stands for constant. Hypercall_page looks like a table of instructions that each do a syscall.

Maybe this will generate a call hypercall_page + {constant based on the expression given}, essentially having computed the address of this offset at compile time. As an aside, this __HYPERVISOR##name stuff really reminds me of the __NR_name_of_syscall type convention you see for syscalls in Linux's and similar places.

I already looked at this. This HOWTO is quite old and doesn't say anything about the new syntax for operands, i.e. %name.

I can't find anything about %cname either. – sigjuice Nov 4 '09 at 10:38.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions