#23307 - Darmstadium - Fri Jul 09, 2004 5:46 pm
I have a lot of questions. Here they go:
1. Why would I use the bl instruction at all? I could just copy pc somewhere else and not have to worry about storing the old lr and then putting it back in lr after I branch to the code I want.
2. How do you make macros using GAS?
3. What is the stack for and how do I make use of it?
4. How do I write a function that takes arguments and returns a value in ASM and then use it in my C code?
5. How do I make variables using GAS and how do I tell it where in memory I want them?
6. Is there a tutorial on ARM ASM better that gbaguy's?
If you could answer any of these questions, I would be very grateful
1. Why would I use the bl instruction at all? I could just copy pc somewhere else and not have to worry about storing the old lr and then putting it back in lr after I branch to the code I want.
2. How do you make macros using GAS?
3. What is the stack for and how do I make use of it?
4. How do I write a function that takes arguments and returns a value in ASM and then use it in my C code?
5. How do I make variables using GAS and how do I tell it where in memory I want them?
6. Is there a tutorial on ARM ASM better that gbaguy's?
If you could answer any of these questions, I would be very grateful