two bugs relate cbnz/cbz:
Assembler assumes distance to be pc+255 max, but is pc+126 and therefore issues a warning if the distance exceeds the offset of 255 but not at 126. Related to this, the distance is wrong calculated and false opcodes are generated.
.text cbnz r0,y nop y: cbnz r0,x .loop 65 nop .endloop xIn this example the second cbnz should issue a warning, but instead the assembler generates the same opcode as the first one.
Tested with version 4.9.7 and 4.9.8.