How can I access individual bytes of the union below in assembler?
volatile union { uint32_t Counts; uint16_t ints[2]; uint8_t bytes[4]; } foo
Can I just use lo8(foo), hi8(foo), hlo8(foo) and hhi8(hlo8)?
Sorry if I've put this topic in the wrong forum, but I've figured that as GAS is a part of GCC, and it involves mixing assembler and C, it should belong here.