Re: Modern PowerPC Assembly?

2 messages, 2 authors, 1999-10-25 · open the first message on its own page

Re: Modern PowerPC Assembly?

From: Sven LUTHER <hidden>
Date: 1999-10-25 08:17:27

On Sat, Oct 23, 1999 at 12:34:21AM +0200, Gabriel Paubert wrote:


On Fri, 22 Oct 1999, Sean Chitwood wrote:
quoted
Can anyone recommend a book or website for PPC Assembly Programming? 
It depends on what you exactly mean and your level. For smart tricks look
for the Compiler Writer's Guide somewhere on IBM's site. I've personnally
learnt PPC assembly from reading the architecture specification and got
some more useful tricks from the Compiler Writer's Guide.

<Shameless plug> 

For an example of a fairly large (but still comprehensible IMHO) assembly
program, you may have a look at my em86 program on ftp://vlab1.iram.es.

This is an emulator for x86 BIOSes which allows me to initialize my S3.
It's quite heavily commented and the emulation of flags has been designed
to make clever use of rlwimi and cntlzw instructions. OTOH the decoding
of addressing modes is quite awful spaghetti (but this was faster than 
indirect branches). Plus the mixture of little and big endian made it very
funny to write...
Gabriel, ...

Do you think it would be possible to use your emulator to have a ppc
based dosemu ?

Not that i have time for it right now, but ...

Friendly,

Sven LUTHER

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: Modern PowerPC Assembly?

From: Gabriel Paubert <hidden>
Date: 1999-10-25 11:08:49



On Mon, 25 Oct 1999, Sven LUTHER wrote:
Gabriel, ...

Do you think it would be possible to use your emulator to have a ppc
based dosemu ?
Well, this is real mode only... So plain DOS, I have ideas to add
protected mode and _efficient_ paging, but no time to do so. This would
unfortunately significantly bloat the code. There is also no FPU. The most
positive points of this emulator are the compact size and perhaps also
reasonable speed (if what I've heard about other emulators is true),
approximately equivalent to a 33MHz 386DX on a 200MHz 603e.

	Regards,
	Gabriel.


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help