Re: How many bytes is an instruction?
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