Compute's_Amiga_Machine_Language_Programming_Guide.pdf

(39904 KB) Pobierz
199430983 UNPDF
199430983.002.png
u
u
199430983.003.png
n
n
n COMPUTEI's
AMIGA
MACHINE
LANGUAGE
PROGRAMMING
GUIDE
by Daniel Wolf and Douglas Leaviti Jr.
n
n
n
COMPUTE! Publications,lnc.<3
n
A Capital Cities/ABC, Inc. Company
Greensboro, North Carolina
199430983.004.png
u
u
u
Copyright 1988, COMPUTE! Publications, Inc. All rights reserved.
Reproduction or translation of any part of this work beyond that permitted by
Sections 107 and 108 of the United States Copyright Act without the permission of
the copyright owner is unlawful.
Printed in the United States of America
10987654321
jj
ISBN 0-87455-128-5
The author and publisher have made every effort in the preparation of this book to insure the ac
curacyoftheinformation andprograms. However, the information and programsin thisbook are 1 „ i
sold without warranty, either express or implied. Neither the author nor COMPUTE! Publications,
Inc. will be liable for any damages caused or alleged to be caused directly, indirectly, incidentally,
or consequentially by the information or programs in this book.
\ I
The opinions expressed in this book are solely those of the author and are not necessarily those of
COMPUTE! Publications, Inc.
COMPUTE!Publications,Inc.,PostOfficeBox5406,Greensboro,NC27403,(919) j I
275-9809, isaCapitalCities/ABC Inc. company, andisnotassociatedwithany ^—'
manufacturer of personal computers. Amiga and AmigaDOS are trademarks of
Commodore-Amiga, Inc.
, — i
199430983.005.png
Contents
PI
Foreword
v
-_ Acknowledgments
vi
\ [ Dedication
vi
Introduction
vii
Section 1. MC68000 Microprocessor Architecture
and Programming
1. The MC68000 Architecture 3
2. MC68000 Instruction Formats 13
3. Most Frequently Used MC68000 Instructions 20
4. MC68000 Addressing Modes
45
Section 2. Amiga Machine Language Concepts
5. The Amiga CLI (Command Line Interface)
61
6. The Three-Step Development of an Amiga Machine
Language Program
70
7. Macro Assembler Directives
78
8. Include Files
83
9. Macros and Conditional Assembly
90
10. Organizing Development Files
100
Section 3. Amiga Special Programming Techniques
11. Amiga Libraries
115
12. Memory Allocation
128
j | 13. Structures
136
14. Amiga Program Startup Code
142
| 1 Section4. ProgrammingwithAmigaDOS
15. AmigaDOS
153
r—)
i I Section 5. Intuition
16. Intuition and Windows
167
j—| 17. The IDCMP and IntuiText
I 18. IntuitionMenus
204
19. Intuition Gadgets
223
("-*] 20. Intuition Requesters
247
192
199430983.001.png
Zgłoś jeśli naruszono regulamin