Compiler Options

2007-04-23
2013-03-12
  • juleskim999

    juleskim999 - 2007-04-23

    Dear,

    I would like to know compiler options which cann't rearrange the registers after modifying C code.
    Even if The code I added to previous codes don't affect other codes, registers in the other codes change.
    However, I don't like to get the other codes which have changed registers.

    For example:
    ----------------------------------
    ; the new other codes
    ;genIpop
        pop    ar4
        pop    ar3
    ----------------------------------
    ;the previous other codes
    ;genIpop
        pop    ar6
        pop    ar4 
    ----------------------------------

    Thanks

     
    • Maarten Brock

      Maarten Brock - 2007-04-23

      Sorry, but that is not possible. If you need this level of control, write in assembler instead of a HLL like C.

       
    • juleskim999

      juleskim999 - 2007-04-23

      Thank you so much!

       

Log in to post a comment.

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

Sign up for the SourceForge newsletter:





No, thanks