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]

Re: ARM as.


> I want to store a byte from r1 into the memory address held by r0

Learn by example:
$ cat foo.c
void f(char *p, char c)
{
	*p = c;
}
$ gcc -S -O foo.c
$ cat foo.s

-- 


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