Hello all, For the 16-bit target that i porting now to gcc 4.1.2 doesn't have any branch instructions. It only has jump instructions. For comparison operation it has this instruction:
if cond Rx Ry execute this insn So compare and branch is implemented as if cond Rx Ry jmp Label This instructions has also another form. To check whether a particular bit in a register is set or not. if bs Rx, bitNo execute this insn My questions is how will i be able to implement this instruction in the back-end? Will i be able to do this using builtins? Or inline assembly is my only choice. Any help is appreciated. Thanks for your time. Regards, Shafi