HP Assembler Reference Manual

HP Assembler Reference Manual

HP Assembler Reference Manual HP 9000 Computers 9th Edition 92432-90012 June 1998 Printed in: U.S.A. © Copyright 1998 Hewlett-Packard Company. All rights reserved. Legal Notices The information contained in this document is subject to change without notice. Hewlett-Packard makes no warranty of any kind with regard to this material, including, but not limited to, the implied warranties of merchantability and fitness for a particular purpose. Hewlett-Packard shall not be liable for errors contained herein or for incidental or consequential damages in connection with the furnishing, performance, or use of this material. Hewlett-Packard assumes no responsibility for the use or reliability of its software on equipment that is not furnished by Hewlett-Packard. This document contains information which is protected by copyright. Reproduction, adaptation, or translation without prior written permission is prohibited, except as allowed under the copyright laws. Restricted Rights Legend Use, duplication, or disclosure by the U.S. Government is subject to restrictions as set forth in subparagraph (c)(1)(ii) of the Rights in Technical Data and Computer Software clause in DFARS 252.227-7013. Rights for non-DOD U.S. Government Departments and Agencies are set forth in FAR 52.227-19(c)(1,2). HEWLETT-PACKARD COMPANY 3000 Hanover Street Palo Alto, California 94304 U.S.A. UNIX is a registered trademark in the United States and other countries, licensed exclusively through X/Open Company Limited. 2 Contents Preface . 11 Printing History. .11 Audience. .12 Related Documentation. .12 Typographical Conventions. .13 In This Manual . .13 Summary of Technical Changes for HP-UX 11.0 . .14 1. Introduction to PA-RISC Assembly Language Assembler Features . .15 Summary of Changes for PA-RISC 2.0. .17 Summary of Changes for PA-RISC 2.0W (Wide Mode, 64-bit) . .17 2. Program Structure Symbols and Constants . .21 Registers and Register Mnemonics . .23 Expressions . .29 Parenthesized Subexpressions. .34 Operands and Completers. .35 Macro Processing . .37 Defining New Instructions With Macros. .37 3. HP-UX Architecture Conventions Spaces. .39 Subspaces . .42 Attributes . .42 3 Contents Directives. 43 Sections in 64-bit Mode . 44 Location Counters . 46 Compiler Conventions . 47 Shared Libraries. 51 Assembly Listing . 51 4. Assembler Directives and Pseudo-Operations Introduction . 53 .ALIGN Directive . 57 Syntax . 57 Parameters . 57 Example. 57 .ALLOW Directive . 58 Syntax . 58 Parameters . 58 Discussion . 58 Example. 59 .BLOCK and .BLOCKZ Pseudo-Operations . 60 Syntax . 60 Parameters . 60 Discussion . 60 Example. 61 .BYTE Pseudo-Operation. 62 Syntax . 62 Parameters . 62 Discussion . 62 Example. 62 4 Contents .CALL Directive . .63 Syntax . .63 Parameters . .63 Example . .64 .CALLINFO Directive . .67 Syntax . .67 Parameters . .67 Discussion . .71 Example . .72 .COMM Directive. .74 Syntax . .74 Parameters . .74 Discussion . .74 Example . .74 .COPYRIGHT Directive . .75 Syntax . .75 Parameters . .75 Discussion . .75 Example . .76 .DOUBLE Pseudo-Operation . .77 Syntax . .77 Parameters . .77 Example . .77 .DWORD Pseudo-Operation . .78 Syntax . .78 Parameters . .78 Discussion . .78 Example . ..

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    202 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us