Hi all,
Does anyone have assembly dumps of Uno sketches?
I'd like to investigate if I am experiencing more than a MOV between adc register and memory.
Hi all,
Does anyone have assembly dumps of Uno sketches?
I'd like to investigate if I am experiencing more than a MOV between adc register and memory.
Seems to be a continuation of ADC Crosstalk - Sensors - Arduino Forum
I don't understand what you're asking. Why not just make your own dump? avr-objdump is included with the Arduino IDE.
Hi pert,
Let's see if someone here does understand what I am asking before we make any more replies.
SirishN:
Let's see if someone here does understand what I am asking before we make any more replies.
I get the impression that @pert gave you some useful advice.
In the past I have viewed the assembler code that the compiler produces, but I forget how. Googling "arduino assembler dump" looks like it would have all the info I need.
...R
SirishN:
I'd like to investigate if I am experiencing more than a MOV between adc register and memory.
A disassembler is not necessary to answer that question. As is traditional with RISC processors, a move between an I/O register and memory is not supported. Any such operation requires an intermediate move through a processor register.
SirishN:
Let's see if someone here does understand what I am asking before we make any more replies.
Hard to imagine how you could be more lazy & less effective at asking for technical help.
Tech-wise, you've not shown the code you're running, nor specific info about the hardware, not to mention a schematic & photo. You're literally asking for help troubleshooting a crosstalk issue (or imagined compiler bug) by blind guessing over the internet. Nobody can see your circuit or your code, or even guess which components you're using.
Socially, you're either lazy or secretive, or both. Humans are wonderfully helpful when they see someone making a sincere effort. But you sir, from these messages, appear to be the worst sort of person asking for help. You want others to do all the work, to the point you're not even willing to do the work of composing a question with enough info for anyone to even begin to guess what your project's problem really is!
Everyone starts as a beginner. But not all beginners are created equal. Effort matters. Showing enough info, so humans reading your message can fully see what you've done is essential. Context is needed, so people can actually understand what you're really trying to accomplish, as experts very likely have real-world experience that can dramatically help, if only they understand.
I recommend you ponder these realities of asking strangers for help. Maybe go exercise or do something to get into a less lazy mindset. Then start a new thread and ask a well composed question that really shows what you're doing and why, and what you've already tried. Remember, when you're trying to make a good first impression to random strangers on the internet, above all else, EFFORT MATTERS.
Coding badly,
Forgive me for not knowing the exact IN, OUT, LDS, ETC instructions off the top of my head, I've only begun to investigate this, and someone here may be able to understand my meaning
Pjrc,
Social criticisms aside, I see that you are not able to help, not willing to help, or both, but if you are going to put an important effort in here, feel free to do so
Robin2,
In regards to pert's suggestion of avr-objdump, from just a skim of a simple sketch, I've noticed gaps in the program memory which may be from the compiler or avrdude
I'll be sure to note the importance of google over yourself or other arduino forum users
SirishN:
...and someone here may be able to understand my meaning
A thinly veiled personal insult. I wonder how that will end.
SirishN:
In regards to pert's suggestion of avr-objdump, from just a skim of a simple sketch, I've noticed gaps in the program memory which may be from the compiler or avrdude
Do they matter if the program works properly?
...R
Avr-objdump -SC sketch.elf
Is about the best that you’ll get. I use it all the time.
If you have a specific complaint about the output from some particular sketch, you’ll have to explain in more detail.