Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: assembler.pdf doc question



On May 13, 2004, at 8:39 AM, Ben Dougall wrote:

in apple's assembler.pdf, the second half lists the powerpc instructions. the first column is the operator and the second operands. where does it specify what the details in the operand column are? for example the first operator in the list is abs and in it's operands column there's RT,RA. where does it say what RT and RA stands for? it must say that somewhere but i can't see where.

I don't have the URL handy, but you should download the PowerPC Programming.pdf reference guide (828 pages), and you'll find them in Table 8-2, Instruction Syntax Conventions. The capitalized forms used in assembler manuals are architecturally equivalent to rA, rB, rD, rS, etc, which designate the type of General Purpose register the instruction requires, its use (source, destination, or both), and the bits of the opcode where the 4-bit register number resides. So, RT is notation for a "target" or destination GPR, and RA can be either a source or destination.
--
Shaun Wexler
MacFOH
http://www.macfoh.com
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.


References: 
 >assembler.pdf doc question (From: Ben Dougall <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.