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 6248535
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T13:04:38+00:00 2026-05-24T13:04:38+00:00

What, if anything, is the difference between these two instructions? subs r2, r2, #(32)

  • 0

What, if anything, is the difference between these two instructions?

subs    r2, r2, #(32)

subs    r2, r2, #32

What are the parentheses () for?

  • 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-24T13:04:38+00:00Added an answer on May 24, 2026 at 1:04 pm

    Actually, those are parentheses, not brackets.

    There is no difference between:

    subs    r2, r2, #(32)
    

    and

    subs    r2, r2, #32
    

    I suspect the (32) used to be something like (32 - 8) or something that was interesting / meaningful / necessary at the time, then the “- 8” was removed but the parentheses were simply kept since they do no harm.


    For the sake of completeness, even though it’s not what you asked & you probably already know it:

    The code

    LDR r0, [r1]
    

    with “brackets” (register indirect) loads r0 with the value whose address is stored in r1 — in other words, if r1 holds 1000, r0 will be loaded from MEM[1000]

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

Sidebar

Related Questions

I am just wondering what is the difference between these two File1.js $(function() {
I want to know what the difference between these two foreignkey definitions are. (1)
Is there any major difference between the two? Is there anything that can be
I am trying to calculate the difference between two dates. This is what I'm
Is there any performance difference (in C++) between the two styles of writing if-else,
Is there any difference between moving the mouse in windows using the following two
I'm syncing objects between two devices. Objects have a lastModified property. If both devices
Can you please describe an example indicating difference between Public and Private Cache-Control in
Is there a difference between window and user control? It seems to me that
I seem to recall reading there was an important difference between method overloading (and

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.