So I'm trying to port some code written for the Atmel assembler to gcc/binutils. My last error is this code:
The binutils assembler doesn't know "PC". There is probably an equivalent, but I haven't bothered looking yet since the entire line seems strange to me.
If the condition is true, doesn't brne do a (PC <-- PC + k + 1)? In that case wouldn't that line above jump to (PC + PC + 2 + 1)? Or maybe the Atmel assembler is being nice and fixing this up? I don't have Windows running here to installed and test it?