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] | |
On Mon, Oct 15, 2012 at 2:24 AM, Mischa Baars <mjbaars1977@gmail.com> wrote:That's only because you can then see the difference in the objdump output file.Who can take a look at this example code? When you look at the files attached, you will see that the two different macro's give different answers to the same problem.I don't understand. Of course the different macros give different answers, because the macros are different. One uses ax and one uses bx.
This is exactly what I'm pointing at. Apart from the register naming, I was expecting the same values to be assigned to the respective registers. This does not happen, because 'i' is not a local but a global value.Also one uses i and the other uses j, and that matters because you are invoking them in a loop that also uses i.
Mischa.You need to tell us what you expected to happen, and the difference between what you expected to happen and what actually happened.
Ian
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |