Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7431531
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T09:18:36+00:00 2026-05-29T09:18:36+00:00

Which mode does the ARM SVC handler start in? Basically, I want to know

  • 0

Which mode does the ARM SVC handler start in? Basically, I want to know which mode the ARM core is in when an SVC exception is raised?

Can’t seem to find it in the ARM ARM, but my guess would be that it starts in Supervisor.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T09:18:37+00:00Added an answer on May 29, 2026 at 9:18 am

    Are you talking about the SWI handler? Yes, I see some places they refer to it as the SWI instruction but sometimes the SVC instruction.

    Note: In older versions of the ARM architecture, SVC was called SWI, Software Interrupt.

    From the ARM ARM

    Exception type           Mode       Address
    ----------------------------------------------
    Reset                    Supervisor 0x00000000
    Undefined Instruction    Undefined  0x00000004
    Software Interrupt (SWI) Supervisor 0x00000008
    Prefetch Abort           Abort      0x0000000C
    Data Abort               Abort      0x00000010
    IRQ                      IRQ        0x00000018
    FIQ                      FIQ        0x0000001C
    

    …

    Software Interrupt exception

    The Software Interrupt instruction (SWI) enters Supervisor mode to request a particular supervisor (operating system) function. When a SWI is executed, the following actions are performed:

    R14_svc = address of next instruction after the SWI instruction
    SPSR_svc = CPSR
    CPSR[4:0] = 0b10011  /* Enter Supervisor mode */
    CPSR[5] = 0          /* Execute in ARM state */
                         /* CPSR[6] is unchanged */
    CPSR[7]= 1           /* Disable normal interrupts */
                         /* CPSR[8] is unchanged */
    CPSR[9] = CP15_reg1_EEbit /* Endianness on exception entry */
    PC = 0x00000008
    

    To return after performing the SWI operation, use the following instruction to restore the PC (from R14_svc) and CPSR (from SPSR_svc) and return to the instruction following the SWI:
    MOVS PC,R14

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I want to know the name of the specific editing mode in which the
In normal mode I can hit Ctrl + E which deletes the rest of
I'm trying to single source a form page which can be in edit mode
I'm having a problem compiling an application which uses Core-Plot in debug mode. It
does anyone know how to enable Ctrl-o to switch to normal-mode for one command
Does python have some undefined variable / debug mode which will output a notice/warning?
I want to change Mode of connectivity in Typed Dataset. But I can not
I have a function (function1) which requires sta mode. I'd like tocall this function
Which is the strictest mode of XHTML to make my coding habits semantically and
I have a page which needs to be rendered in Quirks mode for the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.