This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Compiler/TM4C123GH6PM: AAPCS standard 8 byte stack alignment

Part Number: TM4C123GH6PM

Tool/software: TI C/C++ Compiler

Hello, 

I am trying to port my SW and use TI toolchain instead of ARM (Keil MDK). I have an assembly file and multiple .c files in which the assembly routines are being called. The assembly file calls some c function as well.

As per my understanding the ARM procedure call standard mandate the 8 byte stack alignment. Are there any keywords need to be used in the assembly file to do it just like "PRESERVE8 " and "REQURED8" in ARM assembler?  

refer to: 

http://www.keil.com/support/man/docs/ARMASM/armasm_dom1361290021571.htm

Regards, 

Sarea 

  • sarea hariri said:
    Are there any keywords need to be used in the assembly file to do it just like "PRESERVE8 " and "REQURED8" in ARM assembler?  

    Unfortunately, the TI ARM assembler does not provide any similar feature.

    Thanks and regards,

    -George