• 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: "Peter M. Groen" <email@hidden>
  • Date: Wed, 24 Jul 2013 23:26:02 +0200
  • Organization: Open Systems Development

Depends on optimization and the type of instruction. Are you
refererring to one-byte, two-byte, three-byte or four-byte
instructions. Are we taking in consideration compound instructions?
What platform? (ARM, MIPS, Intel, PPC?)

So... No . there isn't a rule of thumb, and you can't just count
instructions. Isn't there a mixed display? (C-code mixed with the
assembly in alternated lines?)

Probably gdb + ddd can be of help here?

--
Open Systems Development
Peter M. Groen

On Wed, 24 Jul 2013 12:30:13 -0700
Rick Mann <email@hidden> wrote:

> I've got a crash log without good symbolication. It shows the crash
> as myMethod:+657.
>
> Can I look at disassembly of the file in Xcode and gauge
> approximately where that crash occurred by counting instructions? Is
> there a rule of thumb I can use for instruction width?
>
> Thanks,
 _______________________________________________
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>)

  • Prev by Date: Re: "Commit NNN Files" Button : Why is NNN much > changed files
  • Next by Date: Re: How many bytes is an instruction?
  • Previous by thread: Re: How many bytes is an instruction?
  • Next by thread: Re: How many bytes is an instruction?
  • Index(es):
    • Date
    • Thread