Hello
I have performed some test with CodeWarrior for HC08 V5.1.
Following ANSI C source code
if (__isflag_int()) {
generates
0002 2e08 [3] BIL LC ;abs = 000c
Following ANSI C code
if (!__isflag_int()) {
generates
000c 2f08 [3] BIH L16 ;abs = 0016
Which is what you have been looking for.
Am I missing something?
CrasyCat
I did test only with CW for S12, but it seems that you can't use a C-label in asm. This means that you have to write the code as follows:
asm BIL TTT;
... some C- or asm-source
asm TTT:
... some C-source