All of lore.kernel.org
 help / color / mirror / Atom feed
* book  to  learn  ppc  assembly  and  architecture
@ 2011-05-15 16:52 s shaiju
  2011-05-16  6:37 ` Michael Neuling
  0 siblings, 1 reply; 7+ messages in thread
From: s shaiju @ 2011-05-15 16:52 UTC (permalink / raw)
  To: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 113 bytes --]


Hi,
 
what  is  the  best  book  to  learn  assembly  and  architecture .
 
 
 
regards,
sha 		 	   		  

[-- Attachment #2: Type: text/html, Size: 407 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: book to learn ppc assembly and architecture
  2011-05-15 16:52 book to learn ppc assembly and architecture s shaiju
@ 2011-05-16  6:37 ` Michael Neuling
  2011-05-16 23:38   ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 7+ messages in thread
From: Michael Neuling @ 2011-05-16  6:37 UTC (permalink / raw)
  To: s shaiju; +Cc: linuxppc-dev

> what  is  the  best  book  to  learn  assembly  and  architecture .

Reading the architecture books with a nice cup of tea.

http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf

Good luck!

Mikey

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: book to learn ppc assembly and architecture
  2011-05-16  6:37 ` Michael Neuling
@ 2011-05-16 23:38   ` Benjamin Herrenschmidt
  2011-05-16 23:43     ` Michael Neuling
  2011-05-17 19:24     ` kevin diggs
  0 siblings, 2 replies; 7+ messages in thread
From: Benjamin Herrenschmidt @ 2011-05-16 23:38 UTC (permalink / raw)
  To: Michael Neuling; +Cc: s shaiju, linuxppc-dev

On Mon, 2011-05-16 at 16:37 +1000, Michael Neuling wrote:
> > what  is  the  best  book  to  learn  assembly  and  architecture .
> 
> Reading the architecture books with a nice cup of tea.
> 
> http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf
> 

A slightly less steep approach might be to get yourself the programmer
manuals of some older powerpc chips, like the freescale PEMs, and then
move on to the full ISA

Cheers,
Ben.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: book to learn ppc assembly and architecture
  2011-05-16 23:38   ` Benjamin Herrenschmidt
@ 2011-05-16 23:43     ` Michael Neuling
  2011-05-17 16:46       ` s shaiju
  2011-05-17 19:24     ` kevin diggs
  1 sibling, 1 reply; 7+ messages in thread
From: Michael Neuling @ 2011-05-16 23:43 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: s shaiju, linuxppc-dev

In message <1305589123.2781.15.camel@pasglop> you wrote:
> On Mon, 2011-05-16 at 16:37 +1000, Michael Neuling wrote:
> > > what  is  the  best  book  to  learn  assembly  and  architecture .
> > 
> > Reading the architecture books with a nice cup of tea.
> > 
> > http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf
> > 
> 
> A slightly less steep approach might be to get yourself the programmer
> manuals of some older powerpc chips, like the freescale PEMs, and then
> move on to the full ISA

True but a well aged Shiraz goes better with them than the cup of tea.

Mikey

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: book to learn ppc assembly and architecture
  2011-05-16 23:43     ` Michael Neuling
@ 2011-05-17 16:46       ` s shaiju
  0 siblings, 0 replies; 7+ messages in thread
From: s shaiju @ 2011-05-17 16:46 UTC (permalink / raw)
  To: mikey, benh; +Cc: linuxppc-dev

[-- Attachment #1: Type: text/plain, Size: 899 bytes --]


thanks.
 
regards,
sha
 
> From: mikey@neuling.org
> To: benh@kernel.crashing.org
> CC: sha_neb@hotmail.com; linuxppc-dev@lists.ozlabs.org
> Subject: Re: book to learn ppc assembly and architecture
> Date: Tue, 17 May 2011 09:43:35 +1000
> 
> In message <1305589123.2781.15.camel@pasglop> you wrote:
> > On Mon, 2011-05-16 at 16:37 +1000, Michael Neuling wrote:
> > > > what is the best book to learn assembly and architecture .
> > > 
> > > Reading the architecture books with a nice cup of tea.
> > > 
> > > http://www.power.org/resources/downloads/PowerISA_V2.06B_V2_PUBLIC.pdf
> > > 
> > 
> > A slightly less steep approach might be to get yourself the programmer
> > manuals of some older powerpc chips, like the freescale PEMs, and then
> > move on to the full ISA
> 
> True but a well aged Shiraz goes better with them than the cup of tea.
> 
> Mikey
 		 	   		  

[-- Attachment #2: Type: text/html, Size: 1294 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: book to learn ppc assembly and architecture
  2011-05-16 23:38   ` Benjamin Herrenschmidt
  2011-05-16 23:43     ` Michael Neuling
@ 2011-05-17 19:24     ` kevin diggs
  2011-05-18  7:56       ` David Laight
  1 sibling, 1 reply; 7+ messages in thread
From: kevin diggs @ 2011-05-17 19:24 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: Michael Neuling, linuxppc-dev, s shaiju

Hi,

On Mon, May 16, 2011 at 6:38 PM, Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
> On Mon, 2011-05-16 at 16:37 +1000, Michael Neuling wrote:
>> > what =A0is =A0the =A0best =A0book =A0to =A0learn =A0assembly =A0and =
=A0architecture .
>>

Assuming you have a powerpc compiler available you can use the -S
option to produce assembly listings.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* RE: book to learn ppc assembly and architecture
  2011-05-17 19:24     ` kevin diggs
@ 2011-05-18  7:56       ` David Laight
  0 siblings, 0 replies; 7+ messages in thread
From: David Laight @ 2011-05-18  7:56 UTC (permalink / raw)
  To: kevin diggs, Benjamin Herrenschmidt
  Cc: Michael Neuling, linuxppc-dev, s shaiju

=20
> > On Mon, 2011-05-16 at 16:37 +1000, Michael Neuling wrote:
> >> > what =A0is =A0the =A0best =A0book =A0to =A0learn =A0assembly =
=A0and architecture .
>=20
> Assuming you have a powerpc compiler available you can use the -S
> option to produce assembly listings.

With gcc add -fverbose-asm for more info.

For a general background, look at something much simpler than ppc,
even if you don't write/run any code.

	David

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-05-18  7:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-15 16:52 book to learn ppc assembly and architecture s shaiju
2011-05-16  6:37 ` Michael Neuling
2011-05-16 23:38   ` Benjamin Herrenschmidt
2011-05-16 23:43     ` Michael Neuling
2011-05-17 16:46       ` s shaiju
2011-05-17 19:24     ` kevin diggs
2011-05-18  7:56       ` David Laight

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.