Keil Logo


The Pstep (step over) command executes one or more source-level or assembly instructions. The Pstep command does not step into functions or subroutines.

Syntax Description
P Executes or steps over one program line or assembly instruction.
P [expr] expr is an expression that has to default to a number. Executes or steps over expr program lines or assembly instructions.

The step context depends on the last window focus.

Last Window Focus Description
Disassembly window Steps over expr assembly instructions.
Editor window Steps over expr program statements.
            /* Last focus set in Disassembly window                */
>P 100      /* Execute 100 assembly instructions, ignoring calls   */
>P          /* Execute one assembly instruction, ignoring calls    */

            /* Last focus set in Editor window                     */
>P 100      /* Execute 100 program statements, ignoring calls      */
>P          /* Execute one program statement, ignoring calls       */


  • For information about how to step into function calls, refer to Tstep.
  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.