QA: Did anybody experienced:
- - BRIE or BRBS SERG_I aka "branch if "I" flag is set"
- BRIC or BRBC SREG_I aka "branch if "I" flag is clear"
QB: Why is "I" flag placed inside of SREG register, when it is not a part of an unknown interrupted context? Only ISRs (and reset) can interrupt program flow, so what is the point of saving "I" when its value is known at compile time?
I will answer further questions of "Why do you need that" kind. I am just curious why did Atmel put it there, when it is completely useless as a part of a context. Useless like nop;mov x,x;rjmp pc+1; subi x,0 and a bunch of other op codes without meaning.
Which unimplemented context flag would you find the most useful (a parity flag like in '51)?