RTEMS Logo

RTEMS 4.7.99.2 On-Line Library


ARM Specific Information Register Usage

PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

1.2.3: Register Usage

As discussed above, the ARM's call and return mechanism dos not automatically save any registers. RTEMS uses the registers r0, r1, r2, and r3 as scratch registers and per ARM calling convention, the lr register is altered as well. These registers are not preserved by RTEMS directives therefore, the contents of these registers should not be assumed upon return from any RTEMS directive.


PREV UP NEXT Bookshelf RTEMS CPU Architecture Supplement

Copyright © 1988-2004 OAR Corporation