implement stp and ldp calls to replace stmia and ldmia calls.