so this is kind of a 'bar talk' question, so people don't jump down my throat for asking such a stupid beginner question.
I'm looking at 8-bit microcontroller code and have started to realize that normal "int"-s that we might see in Arduino code actually get translated into several registers (if I am correct) since the micro is just 8-bit. (please correct me if I'm wrong.).
so does this mean if I see, for example, someone counting to a hundred using "int" does this mean I'm not looking at code that's trying to be particularly efficient? Not explicitly "microcontroller" code?
Like, is it being very wasteful, and if I do that, it means I don't care how many instructions my code turns into?
because the compiler doesn't know that you're only using it to count to a hundred?
If you use an int, how much less efficient is it than using a smaller data types? Please forgive me if I've made a mistake in my understanding.