Go Down

Topic: Assembly dumps (Read 135 times) previous topic - next topic

SirishN

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.

pert

Seems to be a continuation of http://forum.arduino.cc/index.php?topic=563835

I don't understand what you're asking. Why not just make your own dump? avr-objdump is included with the Arduino IDE.

SirishN

Hi pert,

Let's see if someone here does understand what I am asking before we make any more replies.

Robin2

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
Two or three hours spent thinking and reading documentation solves most programming problems.

Coding Badly

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.


pjrc

#5
Aug 18, 2018, 06:23 pm Last Edit: Aug 18, 2018, 06:24 pm by pjrc
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.

Go Up