Note: This is an obsolete section of the FreeRTOS website. If you want to view these pages but cannot see the menu frame then click here. Otherwise click here to visit the main FreeRTOS website.

PUSH'ing and POP'ing
[Software Test Details]

This is the only operation that includes some inline assembler. The operation simply pushes twenty five registers onto the stack, then pops them off again. The operation is repeated twenty times in the measured period, making a total of 500 push instructions and 500 pop instructions.

As the majority of the source code for this test was written in assembler the C compiler has little influence on the test result. There may still be slight differences where test results are provided for the same embedded processor but using two different development tools due to the fact that setting and clearing the digital output still uses compiled code.

Copyright (C) 2004-2010 Richard Barry. Copyright (C) 2010-2015 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOS distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd..