#149 #PRAGMA NOINDUCTION

closed
nobody
5
2001-09-27
2001-09-24
Anonymous
No

The programm:

bit b;
unsigned char i;

#pragma NOINDUCTION
void t(){
do{
b=0;
// do something
i+=1;
}while(b);
}

will be compiled to

_t:
ar2 = 0x02
ar3 = 0x03
ar4 = 0x04
ar5 = 0x05
ar6 = 0x06
ar7 = 0x07
ar0 = 0x00
ar1 = 0x01
; t.c 6
clr _b
; t.c 8
inc _i
; t.c 9
00104$:
ret

Greats Ulli

Discussion

  • Sandeep Dutta

    Sandeep Dutta - 2001-09-27
    • status: open --> closed
     
  • Sandeep Dutta

    Sandeep Dutta - 2001-09-27

    Logged In: YES
    user_id=1551

    This looks correct to me; Iam not sure what you want it
    to generate .

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks