Unix Technical Forum

assembly for Ultra (ABI)

This is a discussion on assembly for Ultra (ABI) within the Sun Solaris Hardware forums, part of the Solaris Operating System category; --> Hi all, I am working on OS'es and got now a few Sun machines (Ultra 1 & 5). Does ...


Go Back   Unix Technical Forum > Unix Operating Systems > Solaris Operating System > Sun Solaris Hardware

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 12:12 PM
tvburger
 
Posts: n/a
Default assembly for Ultra (ABI)

Hi all,

I am working on OS'es and got now a few Sun machines (Ultra 1 & 5).

Does someone know a good introduction to assembly for these machines?

Sofar, I cant make any sense of the trap handling using the V8
Specification from SPARC.org.

Thnx,

- Tom
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 12:12 PM
Dimitrios Tsifakis
 
Posts: n/a
Default Re: assembly for Ultra (ABI)

Hi,

I found this book rather ok, as an introductory book of course (there
aren't many anyway). I guess it all depends on your general computer
architecture skills. You might find this too introductory. Oh well.
Also keep in mind that I am not sure if it includes v9 stuff.

TITLE SPARC architecture, assembly language programming, and C /
Richard P. Paul.
AUTHOR Paul, Richard P.
PUBLISHED Englewood Cliffs, N.J. : Prentice Hall, c1994.
DESCRIPT xvi, 448 p. : ill. ; 24 cm.
SUBJECT Reduced instruction set computers.
Assembler language (Computer program language)
C (Computer program language)
CONTENTS 1. The Computer -- 2. SPARC Architecture -- 3. Digital Logic and
Binary Numbers -- 4. Binary Arithmetic -- 5. The Stack -- 6.
Data Structures -- 7. Subroutines -- 8. Machine Instructions --
9. External Data and Text -- 10. Input/Output -- 11. Floating-
Point -- 12. Traps and Exceptions -- 13. Memory Management --
14. Other Architectures -- A Macro Definitions -- B
Multiplication by Constants -- C User Mode Machine Instructions
-- D Synthetic Instructions and Pseudo-Ops -- E Instructions
Sorted Alphabetically -- F Powers of Two -- G Macro Language
Processor m4.
BIBLIOG. Includes bibliographical references (p. 437-438) and index.
ADD TITLE SPARC architecture, assembly language programming & C.
ISBN 0138768897.
ABN IMM # 9931024.
93010038.


cheers,
dimitris


tvburger wrote:
>
> Hi all,
>
> I am working on OS'es and got now a few Sun machines (Ultra 1 & 5).
>
> Does someone know a good introduction to assembly for these machines?
>
> Sofar, I cant make any sense of the trap handling using the V8
> Specification from SPARC.org.
>
> Thnx,
>
> - Tom


--
( | ) Dimitris Tsifakis <Dimitrios.Tsifakis@anu.edu.au>
/_\ VK1KBN / SV1DET (ham radio)
/\_/\ Australia
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 12:12 PM
Dimitrios Tsifakis
 
Posts: n/a
Default Re: assembly for Ultra (ABI)

Hi,

I found this book rather ok, as an introductory book of course (there
aren't many anyway). I guess it all depends on your general computer
architecture skills. You might find this too introductory. Oh well.
Also keep in mind that I am not sure if it includes v9 stuff.

TITLE SPARC architecture, assembly language programming, and C /
Richard P. Paul.
AUTHOR Paul, Richard P.
PUBLISHED Englewood Cliffs, N.J. : Prentice Hall, c1994.
DESCRIPT xvi, 448 p. : ill. ; 24 cm.
SUBJECT Reduced instruction set computers.
Assembler language (Computer program language)
C (Computer program language)
CONTENTS 1. The Computer -- 2. SPARC Architecture -- 3. Digital Logic and
Binary Numbers -- 4. Binary Arithmetic -- 5. The Stack -- 6.
Data Structures -- 7. Subroutines -- 8. Machine Instructions --
9. External Data and Text -- 10. Input/Output -- 11. Floating-
Point -- 12. Traps and Exceptions -- 13. Memory Management --
14. Other Architectures -- A Macro Definitions -- B
Multiplication by Constants -- C User Mode Machine Instructions
-- D Synthetic Instructions and Pseudo-Ops -- E Instructions
Sorted Alphabetically -- F Powers of Two -- G Macro Language
Processor m4.
BIBLIOG. Includes bibliographical references (p. 437-438) and index.
ADD TITLE SPARC architecture, assembly language programming & C.
ISBN 0138768897.
ABN IMM # 9931024.
93010038.


cheers,
dimitris


tvburger wrote:
>
> Hi all,
>
> I am working on OS'es and got now a few Sun machines (Ultra 1 & 5).
>
> Does someone know a good introduction to assembly for these machines?
>
> Sofar, I cant make any sense of the trap handling using the V8
> Specification from SPARC.org.
>
> Thnx,
>
> - Tom


--
( | ) Dimitris Tsifakis
/_\ VK1KBN / SV1DET (ham radio)
/\_/\ Australia
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 12:12 PM
Raymond Toy
 
Posts: n/a
Default Re: assembly for Ultra (ABI)

>>>>> "Dimitrios" == Dimitrios Tsifakis <dtsifakis@ieeeeeeee.org> writes:

Dimitrios> Hi,
Dimitrios> I found this book rather ok, as an introductory book of course (there
Dimitrios> aren't many anyway). I guess it all depends on your general computer
Dimitrios> architecture skills. You might find this too introductory. Oh well.
Dimitrios> Also keep in mind that I am not sure if it includes v9 stuff.

Dimitrios> TITLE SPARC architecture, assembly language programming, and C /
Dimitrios> Richard P. Paul.

I agree. It's a good introduction and explains the calling sequence
and register window usage fairly well.

There is a small section on V9, but mostly just briefly introduces the
new instructions. Enough to know they exist, but you'll probably need
the Sparc V9 Architecture Manual for more info.

Ray
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 06:44 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com