Code warrior don't see an error when RTS is placed like a label without space  or tabulation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Code warrior don't see an error when RTS is placed like a label without space  or tabulation

1,214 Views
bourineauthierr
Contributor I

example

 

 

delai: 

    psha

       lda #$FF

delaiLoop:

     deca

       bne delaiLoop

       pula

RTS



is that normal ?

Labels (1)
0 Kudos
Reply
2 Replies

1,108 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Thierry,

This is normal, CodeWarrior won't detect indentation errors, indenting is a good programming practice because it makes the code easier to understand but the compiler won't throw an error if there are instructions with wrong indentation.

Best regards!

Carlos

0 Kudos
Reply

1,108 Views
bourineauthierr
Contributor I

Hi

thank for your response

I have many pb with eclipse ... I am retired it 's for it ... :smileywink:)

I have starting develop when I am twenty about the 6800 family and

now I try still with the new IDE this MPU..

it' was a long time ago Eclipse do not existed of course .. so now

after all this passed time I am lost with this IDE

sorry ..

thank for your response

I am some pb with eclipse ... I am retired it 's for it ... :smileywink:)

I had starting to develop when I am twenty about the 6800 family and now

I try still retrived this MPU..

but it's a long time eclipse don't exist of course .. so to day after

all this past time I 'm lost whit this IDE

sorry ..and thank

sorry for my bad enghish

I need another IDE more easy or simple text ...

best regards

0 Kudos
Reply