• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How many bytes is an instruction?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How many bytes is an instruction?


  • Subject: Re: How many bytes is an instruction?
  • From: Mark Wagner <email@hidden>
  • Date: Fri, 26 Jul 2013 13:19:40 -0700

On Thu, Jul 25, 2013 at 10:37 PM, Michael Crawford <email@hidden> wrote:
> Intel-architecture instructions have variable sizes.
>
> ARM (for iOS) are all 32-bits.
>
> Thumb (again for iOS) are all 16-bits.
>
> However, it looks like your crash is at an odd address.  That should never
> be the case.  Perhaps some bogus value got stuffed into the program counter.

Intel code can crash just fine at odd-numbered addresses.  The x86
instruction set has instructions ranging in length from one byte to 15
bytes, so any possible address offset is valid.

--
Mark Wagner
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >How many bytes is an instruction? (From: Rick Mann <email@hidden>)
 >Re: How many bytes is an instruction? (From: Michael Crawford <email@hidden>)

  • Prev by Date: Re: How many bytes is an instruction?
  • Next by Date: How to configure my project to do dead-code stripping (properly!)
  • Previous by thread: Re: How many bytes is an instruction?
  • Next by thread: [JOB] iOS Developer - Newport Beach, CA
  • Index(es):
    • Date
    • Thread