# develop-16 9312 December 1993 — source transcripts, page 1

[Canonical transcript page](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1)

## Transcribed source material

Machine transcriptions and image descriptions; uncertain copy may be marked [illegible]. Verify against the linked originals. Historical rights remain with the original owners.

These are transcribed excerpts, not the full publications. Open the originals for remaining pages.

### Image 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-9b9332d1e418d4f4528538cd3b7af635a60976f148f0c8eb690cf64a002cb9ed)

Transcribed text:

develop
The Apple Technical Journal
MAKING THE LEAP TO POWERPC
BUILDING POWERTALK-SAVVY APPLICATIONS
DRAG AND DROP FROM THE FINDER
COLOR MATCHING MADE EASY WITH QUICKDRAW GX
INTERNATIONAL NUMBER FORMATTING
WHAT'S NEW WITH SOUND MANAGER 3.0
LASERWRITER 8 FOR FUN AND PROFIT
REMEDIES FOR COMMON QUICKDRAW PROBLEMS
KON & BAL'S PUZZLE PAGE
MACINTOSH Q & A
Issue 16 December 1993

Image description: A surreal painted scene shows a figure on a pink horse leaping over a gap between a steel truss bridge and a red arched bridge, above a river, rocky hills, a bare tree, and a green leafy tree on a grassy slope, with a blue and pink cloudy sky and an Apple logo near the bottom right.

Reading notes: The 'develop' masthead is stylized with wide letter spacing; the subtitle 'The Apple Technical Journal' is small and spaced out, so exact spacing may differ. A faint smudge overlaps the 'COLOR MATCHING' line and the right edge near 'FROM THE FINDER'; the words appear legible but may be slightly affected.

Printed product names: develop · The Apple Technical Journal

Printed dates: December 1993

Languages: English

[Original Image 1](https://www.vintageapple.net/files/a0a7f8a28353c631d472725ae7996403fa7ab6656ecd444e452571d142b2c43e/39726be43fcf152f5e1f0ef4.webp)

### PDF page 1

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-32c1a9794b706e425194bb3d8162e8e1a194a10696acb8111213f823e244dbf4)

Transcribed text:

develop
The Apple Technical Journal
MAKING THE LEAP TO POWERPC
BUILDING POWERTALK-SAVVY APPLICATIONS
DRAG AND DROP FROM THE FINDER
COLOR MATCHING MADE EASY WITH QUICKDRAW GX
INTERNATIONAL NUMBER FORMATTING
WHAT'S NEW WITH SOUND MANAGER 3.0
LASERWRITER 8 FOR FUN AND PROFIT
REMEDIES FOR COMMON QUICKDRAW PROBLEMS
KON & BAL'S PUZZLE PAGE
MACINTOSH Q & A
Issue 16 December 1993

Image description: A surreal painted scene shows a rider on a pink horse leaping over a gap between a steel truss bridge and a red-railed bridge, above a river, brown rocks, a bare tree, and a green tree on a grassy hill, with a pink-blue sky and a white right-hand column listing article titles and an Apple logo.

Reading notes: The small tagline 'The Apple Technical Journal' is letterspaced and light, so spacing is approximate. A faint smudge sits near the COLOR MATCHING headline on the right edge; the text remains legible.

Printed dates: December 1993

Languages: English

[Original PDF page 1](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=1)

### PDF page 2

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-f3f23ae438ca1e5e859c5da7c93931f3ce524be30b9ee6d9683cd20707367d81)

Transcribed text:

E D I T O R I A L   S T A F F
Editor-in-Cheek   Caroline Rose
Technical Buckstopper   Dave Johnson
Our Boss   Greg Joswiak
His Boss   Dennis Matthews
Review Board   Pete (“Luke”) Alexander,
C. K. Haun, Jim Reekes, Bryan K. (“Beaker”)
Ressler, Larry Rosenstein, Andy Shebanow,
Gregg Williams
Managing Editor   Cynthia Jasper
Contributing Editors   Lorraine Anderson, Philip
Borenstein, Robin Cowan, Matt Deatherage,
Toni Haskell, Judy Helfand, Rebecca Pepper
Indexer   Marc Savage
Special thanks to Smart Friend Dean Yu for
his help during Dave Johnson’s sabbatical.
A R T   &   P R O D U C T I O N
Production/Art Director   Diane Wilcox
Technical Illustration   Dave Olmos, John Ryan
Formatting   Forbes Mill Press
Printing   Wolfer Printing Company, Inc.
Film Preparation   Aptos Post, Inc.
Production   PrePress Assembly
Photography   Sharon Beals
Online Production   Cassi Carpenter
develop, The Apple Technical Journal,   a
quarterly publication of Apple Computer’s
Developer Press group, is published in
March, June, September, and December.
The cover.   Mark Jenkins of Rucker
Huggins Design created this cover using
Adobe Photoshop, Adobe Illustrator,
Fractal Design Painter, and a Macintosh
Quadra 950. He looks forward to making
the leap himself to Macintosh on PowerPC.
This issue’s CD.   The   develop Bookmark
CD (or the   Developer CD Series   disc,
Reference Library edition) for December
1993 or later contains this issue and all
back issues of   develop   along with the code
that the articles describe. The   develop
issues and code are also available on
AppleLink and via anonymous ftp on
ftp.apple.com. Note that some software
and documentation referred to as being on
this issue’s CD may be located on the Tool
Chest edition rather than the Reference
Library edition of the   Developer CD Series
disc.

Reading notes: The opening 'E D I T O R I A L   S T A F F' is a section label rather than a clear primary headline, so headline is null. The copy is a masthead and colophon with no advertised products or prices, so productNames and prices are empty. 'develop, The Apple Technical Journal' is a publication title, not an advertised product, and was not listed as a product name. Reading order follows the supplied text: editorial staff, art and production, then cover and CD notes; the 'Editor-in-Cheek' pun and curly quotation marks are preserved only in the source text.

Printed dates: December 1993

Languages: English

[Original PDF page 2](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=2)

### PDF page 3

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-7370d9b98d453a387331dd18482e6e7b689dc7bf98ca7f529d408e72f07e4f03)

Transcribed text:

CONTENTS   December 1993
1
© 1993 Apple Computer, Inc. All rights reserved.
Apple, the Apple logo, APDA, AppleLink, AppleShare, AppleTalk, ImageWriter, LaserWriter, MacApp, Macintosh,
MPW, MultiFinder, SANE, and StyleWriter are trademarks of Apple Computer, Inc., registered in the U.S. and other
countries. AppleMail, ColorSync,
develop, DigiSign, Finder, GrayShare, Macintosh Quadra, Newton, Performa,
PowerBook, PowerShare, PowerTalk, QuickDraw, QuickTime, Sound Manager, System 7, and TrueType are
trademarks of Apple Computer, Inc. MacDraw and MacWrite are registered trademarks of Claris Corporation. Adobe
and PostScript are trademarks of Adobe Systems Incorporated, which may be registered in certain jurisdictions. All
other trademarks are the property of their respective owners.
Riding into the future with PowerPC.   2
Differences of opinion on our new CD and its packaging, plus a dogcow query.   3
Making the Leap to PowerPC   by Dave Radcliffe   An overview of the
PowerPC platform, and coding strategies for both compatibility and speed.   5
Building PowerTalk-Savvy Applications   by Steve Falkenburg   How to
incorporate direct mailing and digital signatures into your application.   39
Drag and Drop From the Finder   by Dave Evans and Greg Robbins
Taking advantage of the new drag and drop services is easy, and your users will
love it.   66
Color Matching Made Easy With QuickDraw GX   by Daniel Lipton
QuickDraw GX integrates ColorSync to make color matching nearly effortless.   81
International Number Formatting   by Norbert Lindenberg   Some good
methods for handling the different number formats around the world.   97
Somewhere in QuickTime: What’s New With Sound Manager 3.0   by
Jim Reekes   Changes (and bug fixes!) in the Sound Manager. Finally, you can
remove all that workaround code.   34
The Veteran Neophyte: Abracadabra   by Dave Johnson   Hunting for the
source of that old elusive magic, Dave stubs his toes on some obvious truths.   64
Print Hints: LaserWriter 8 for Fun and Profit   by Matt Deatherage
How applications can take advantage of the new LaserWriter driver.   76
Graphical Truffles: Remedies for Common QuickDraw Problems   by
John Wang   Look here first for relief from common QuickDraw problems.   95
View From the Ledge   by Tao Jones   An office survival guide for the socially
and politically inept.   122
KON & BAL’s Puzzle Page: Sounds Like Trouble   by Konstantin Othmer
and Bruce Leak   A fresh-faced intern gives the hoary masters a run for their
money.   134
Macintosh Q & A   Apple’s Developer Support Center answers your product
development questions — and as usual, we made up some funny ones.   124
138 I N D E X
Q   &   A
C O L U M N S
A R T I C L E S
L E T T E R S
E D I T O R I A L

Reading notes: Table-of-contents page numbers and some article titles may be out of reading order due to multi-column layout.

Printed product names: Apple · Macintosh · PowerPC · PowerTalk · QuickDraw GX · ColorSync · Sound Manager 3.0 · QuickTime · LaserWriter 8 · AppleShare · AppleTalk · ImageWriter · LaserWriter · MacApp · MPW · MultiFinder · SANE · StyleWriter · AppleMail · DigiSign · Finder · GrayShare · Macintosh Quadra · Newton · Performa · PowerBook · PowerShare · QuickDraw · System 7 · TrueType · MacDraw · MacWrite · PostScript

Printed dates: December 1993 · 1993

Languages: English

[Original PDF page 3](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=3)

### PDF page 4

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-ce6e37f6e2789e81b30895eefef93e78f28a42a3d812bce0ef8e519eee09aa94)

Transcribed text:

Dear Readers,
Nearly two years ago I was asked to join a team of Apple developer support people
who would meet monthly to discuss a forthcoming Macintosh model that would be
based on the new PowerPC (RISC) processor. Our goal was to ensure that
developers receive the support they need to get started on this new computer, due to
be introduced in 1994.
It seemed a bit premature to me back then, but the time went faster than anyone
would have imagined. Now I’m happy to finally have something to show for it in
develop : an article to help you make the transition to this new stage in the life of the
Macintosh. We hope to tear the engineers away from their programming long
enough to be able to have a steady stream of articles on this subject in future issues.
The PowerPC processor–based Macintosh will be formally introduced roughly a
decade after the introduction of the first Macintosh computer, which of course
makes me wax nostalgic about what I was doing then at Apple: furiously finishing up
Inside Macintosh   on an Apple III, handing off chapters to Louella Pizzuti (later the
founder of   develop ) to format them on the Macintosh in MacWrite ® . But most of all,
I remember looking forward to what I   knew   would be worldwide acceptance of — no,
excitement about! — our new computer.
The world is different now, as am I (we’ve both changed a lot in ten years), and I’m
shorter on starry-eyed wonder and exclamation points than I was back then. But to
quote an old TV personality (trivia question: who?): “I think you’re gonna like this
one.” Talk about time flying by, this thing is   fast . And it’s still a Macintosh (which I’ll
always have a warm spot for in my heart no matter where I roam). It’s a horse of a
different color, but it’s still a horse: a sleek, beautiful racehorse that should make us
all winners. At least that’s what I’m betting.
Caroline Rose
Editor
d e v e l o p   Issue 16
CAROLINE ROSE   (AppleLink CROSE) got into
technical writing because of a Math degree she
didn’t know what to do with. It landed her a job
at Tymshare, where she wrote her first manual in
pencil on paper, from which someone typed it on
an IBM Selectric typewriter. But enough ancient
history. Caroline’s career at Apple began with
Inside Macintosh and almost ended when she left
to join NeXT, but she was smart enough to come
back after five years and become the editor of
develop. After putting each issue of
develop to
bed, Caroline likes to take off to someplace
where she can forget about computers altogether.
After this issue, she’ll fulfill a dream she’s had
since the first time she looked at a globe as a
child: she’ll visit the Caroline islands. She’ll stay
with friends who live on a sailboat in primitive
style (except for their computers!).•
2
CAROLINE ROSE

Reading notes: Reading order of the sidebar and article text is uncertain Some spacing in the layout may affect the reading of the developer bio

Printed product names: Macintosh · PowerPC · Inside Macintosh · develop · MacWrite · Apple III · IBM Selectric

Printed dates: 1994

Languages: English

[Original PDF page 4](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=4)

### PDF page 5

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-ee200edb395817323f10f3087b44abb893ffd0897e42e40e7b90f939887ffa27)

Transcribed text:

NEW CD & PACKAGING: GOOD
I just received   develop   Issue 14 in the
mail (a little late, but worth the wait!).
As usual, the articles are enlightening
and entertaining. The Bookmark CD is
an excellent idea as well (although the
former student in me doesn’t like the
idea of missing out on system software).
I enjoyed opening up the journal to find
my CD in a case that could not be
broken, even by the worst of mailmen!
And, as always, the CD contains a great
wealth of information. I would even go
so far as to say I’d pay more than the
price of a yearly subscription with or
without the CD; it’s really worth it! So,
I’d like to congratulate you and
everyone else on the   develop   staff (as well
as all the contributors) for creating an
amazing journal for me (and I guess
other developers!) every three months.
Keep up the good work, as I look
forward to future issues. (I just renewed
my subscription.)
—David A. denBoer
Thanks for the good words about   develop
and especially about its CD. We’ve received
a number of letters from developers who are
less than thrilled about our recent changes
(see below). It’s wonderful to hear from a
happy subscriber.
—Caroline Rose
NEW CD: BAD
I subscribed to   develop   after reading the
MacWeek   article that pointed out what a
good deal it was, especially with respect
to the   Developer CD Series . APDA told
me on the phone that my subscription
would start in a few weeks, and
promptly debited by VISA account.
After a few weeks had gone by, I phoned
ADPA to ask why I hadn’t received
anything. I was told that they had been
swamped with orders as a result of the
MacWeek   article.
Now I find out that there’s been a
“change” to   develop ’s CD. What bothers
me is the apparent motivation behind all
this. You knew that you were swamped
with orders, which were generated by a
specific   MacWeek   article. What did this
article say? Simply that readers should
subscribe to   develop   to get the system
software. So what did you do? Take
away the software! Didn’t it occur to
anyone making this decision that loyal
customers might be angered?
I, for one, am not a happy camper.
—Ken Ribet
Regarding the CD change: We basically
took only Inside Macintosh and system
software off the CD. We have since restored
Inside Macintosh; that decision was made a
bit hastily. But I think the decision to
discontinue essentially giving away the
system software was a sound one. We’re
making every effort to give developers the
best support possible, but compromises are
sometimes necessary.
The decision not to supply the system
software on the CD accompanying   develop
was made independently of the MacWeek
column and before it appeared. The timing
was unfortunate, but it’s not easy, or
particularly practical, to reverse company
decisions based on what MacWeek chooses to
publish. (I hope you don’t really think the
column motivated us to remove the software
from the CD!) We informed the MacWeek
columnist immediately of what was about to
happen, and he let his readers know. It did
occur to us that developers subscribing in
LETTERS   December 1993
3
DO THE WRITE THING
We welcome timely letters to the editors,
especially from readers reacting to articles that
we publish in
develop. Letters should be
addressed to Caroline Rose (or, if technical
develop-related questions, to Dave Johnson) at
Apple Computer, Inc., 20525 Mariani Avenue,
M/S 303-4DP, Cupertino, CA 95014 (AppleLink
CROSE or JOHNSON.DK). All letters should
include your name and company name as well
as your address and phone number. Letters may
be excerpted or edited for clarity (or to make
them say what we wish they did).•
LETTERS

Reading notes: Some hyphenated or split words and inline italic/bold markers in the extracted copy may affect exact reading order. The AppleLink address is printed as 'CROSE or JOHNSON.DK' and is kept as written.

Printed product names: develop · Bookmark CD · Developer CD Series · Inside Macintosh · MacWeek · AppleLink

Printed dates: December 1993 · Issue 14 · every three months

Languages: English

[Original PDF page 5](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=5)

### PDF page 6

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-da6fbaf2a5509f60ec38fe5b4462821bbe002d58b8bb8f2782e7e4c2f0276c5b)

Transcribed text:

d e v e l o p   Issue 16
SUBSCRIPTION INFORMATION
Subscriptions to
develop are available through
APDA (see inside back cover for APDA
information), or you can use the subscription
card in the back of this issue. Please address all
subscription-related inquiries to
develop, Apple
Computer, Inc., P.O. Box 531, Mt. Morris, IL
61054 (or AppleLink DEV.SUBS).•
BACK ISSUES
For information about back issues of
develop
and how to obtain them, see the last page of this
issue. Back issues are also on the
develop
Bookmark CD, the
Developer CD Series disc,
and the Developer Services bulletin board on
AppleLink.•
4
response to that column might be angry.
But most of them turned out to be happy to
receive   develop   and all it does have on its
CD for $30 a year. The majority of our
subscribers have been understanding about
the CD change, saying it always did seem
like too good a deal to be true.
I’m always sorry to hear from an unhappy
camper. But thanks for writing.
—Caroline Rose
NEW CD PACKAGING: SO-SO
Your new packaging for the Bookmark
CD sent with   develop   Issue 14 shows an
appreciated effort for environmentally
conscious packaging.
Unfortunately, this packaging is not
U.S. Postal Service–friendly. I was able
to flatten the CD enough so that it’s
working fine. Using a stiffer mailer and
including the words “DO NOT
BEND” clearly visible for the mail
carrier would help prevent the CD from
being damaged.
develop   has been a great assistance to my
business. I look forward to each and
every issue.
Thank you for your assistance.
—Edward Salm
Sorry about your delivery problem. We’ve
had a couple of other complaints about this,
though not enough to justify the expense of
implementing a solution like the one you
suggest. We’ll keep your words (and the
unsuspecting mail carrier) in mind as we
continue searching for packaging options
that work without increasing the price of a
develop   subscription.
—Diane Wilcox
WHITHER THE DOGCOW?
I can’t fight it anymore; I have to ask. In
the Letters column in   develop   Issue 10,
you say the story of the dogcow is
hidden in Tech Note #31 on the CD. I
found Tech Note #31; it was funny, but
contains no references to “dog” or
“cow” or “Moof!” What gives? I need to
know the story of the dogcow!!!!
—Gary Robinson
The Tech Note you saw is actually #31A,
“GestaltWaitNextEvent,” which indeed is
not on the subject of dogcattle. The original
Tech Note #31, “The Dogcow,” is no longer
available, but I can give you some clues on
where you might find a copy. It used to be
hidden in the Technical Notes Stack on the
early versions of   develop ’s CD (most
notably “Phil and Dave’s Excellent CD”),
although no one here seems to be exactly
certain when it stopped. It appeared on
paper only once, as part of the monthly
mailing to Apple Associates and Partners
back in April of 1989. Assuming you’re not
that far behind on reading your mail, you
may want to try trolling the net. Macintosh
programmers are an unusual breed, and
I’m sure you’ll find someone who has a copy.
Why the continued secrecy? The answer has
a little bit to do with history and a lot to do
with tradition, and may or may not have to
do with an exchange of spies during the
Cold War. But there’s good news: your letter
has inspired me to write up how the dogcow
furor and Tech Note originated — Apple
cultural minutiae that may be of interest to
other crazed Macintosh developers. The
editor threatens to publish it in a future
issue, assuming it passes by our censors.
—Mark (“The Red”) Harlan
Author, Tech Note #31

Reading notes: Some words are split with spaces between letters in the source (e.g., 'd e v e l o p'), which may reflect OCR spacing rather than printed text. Reading order of the letter sections is somewhat uncertain due to column breaks.

Printed product names: develop · Bookmark CD · Developer CD Series · Developer Services · AppleLink · AppleLink DEV.SUBS · APDA · Tech Note #31 · GestaltWaitNextEvent · Phil and Dave's Excellent CD

Printed prices: $30

Printed dates: April of 1989 · Issue 10 · Issue 14 · Issue 16 · a year

Languages: English

[Original PDF page 6](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=6)

### PDF page 7

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-20df626b7ff7a9fdf4e422a2aeb0fa450a7e008d8f334c627a9c939eb5c67036)

Transcribed text:

Apple will soon be introducing the first Macintosh CPU architecture
not based on a 68000-family microprocessor. The entirely new
architecture is built around a new RISC CPU — the PowerPC
microprocessor jointly designed by IBM, Motorola, and Apple. Truly
taking advantage of PowerPC technology will require an ongoing effort
by both Apple and developers. Apple is making the first leap to this new
platform; now it’s up to developers to make the next leap and bring the
performance made possible by PowerPC technology to their applications.
In 1984, Apple Computer offered a startling vision of the future of personal
computing by introducing the Macintosh, which radically changed the desktop. Now,
nearly ten years later, the computing world embraces graphical interfaces. Ten years
is a lifetime in computing terms; at that age, many computing architectures are
considered ancient. The Macintosh enters its second decade by looking to the future
while remembering its past — making the transition from the sturdy Motorola 68000
family to the sleek new PowerPC processor–based family without forsaking
developers and users and their investment in the 680x0 architecture.
The PowerPC microprocessor is the most significant change to date in the
Macintosh product line. This article introduces the new PowerPC architecture and
discusses the ramifications for existing applications, as well as opportunities for new
or revised applications to take full advantage of the power of the new chip. It
contrasts the new architecture with the old and explains how this new architecture
both acknowledges the past and prepares for the future.
COMPARING CISC AND RISC
Much has been written about the differences between a CISC (complex instruction
set computer) architecture, used in Motorola’s MC680x0 processors, and a RISC
(reduced instruction set computer) architecture, used in the PowerPC
microprocessor. The relative merits of the two architectures have also been widely
MAKING THE LEAP TO POWERPC   December 1993
5
DAVE RADCLIFFE   is a five-year veteran of
Apple’s Developer Technical Support group and
for the past year has been excited to be part of
the PowerPC project. When he’s not plumbing
the depths of MacsBug, Dave enjoys relaxing
with a mug of beer from one of the local
microbreweries, watching old movies at the
Stanford Theatre, or just being a couch potato in
front of one of his laser disc videos. For his
sabbatical, Dave is looking forward to a low-tech
adventure river rafting through the Grand
Canyon.•
DAVE RADCLIFFE
MAKING THE
LEAP TO
POWERPC

Reading notes: Byline and sidebar text appear interleaved with the main article in the extracted copy, so reading order may be uncertain.

Printed product names: Macintosh · PowerPC · MC680x0 · Motorola 68000

Printed dates: 1984 · December 1993

Languages: English

[Original PDF page 7](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=7)

### PDF page 8

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-4986c9458cc48e838a6955490542dff686188a3ef077651b94a6bac1144fa8d8)

Transcribed text:

debated. A detailed discussion of CISC and RISC is beyond the scope of this article,
but some understanding of RISC principles is useful for understanding PowerPC
architecture.
Two logical considerations motivated CISC development. The first was a desire to
simplify assembly-language programming by enriching the functionality of the
instruction set. CISC architectures did this by providing a greater variety of
instructions, as well as a wide array of addressing modes, thereby reducing the
number of steps required to perform a particular operation. Second, as writing
compilers became easier, there was a desire to provide instructions more closely
related to operations performed by high-level languages. CISC architectures were
marvelously successful at satisfying this goal also.
In the early 1980s, hardware designers began to run into the limitations inherent in
CISC architectures, particularly in their ability to streamline the flow of instructions.
At the same time, the software world was deemphasizing assembly-language
programming in favor of high-level languages with sophisticated, optimizing
compilers. This allowed hardware designers to simplify their architecture and shift
much of the performance burden to compiler writers.
The classic equation for execution time is
where   ET   is the total execution time,   N   is the number of instructions executed,   CPI   is
the number of cycles per instruction, and   CT   is the cycle time. Both CISC and RISC
architectures benefit from reduced cycle time. Faster clock rates translate directly to
smaller cycle times, and hence shorter execution times. Where CISC and RISC
architectures differ is in their approach to   N   and   CPI . CISC tries to shorten execution
times by minimizing   N , while RISC tries to minimize   CPI .
PIPELINING
The four typical stages in executing an instruction are fetch, decode, execute, and
write. In a simplistic architecture, these stages all happen in sequence, and the next
instruction can’t start until the previous instruction has finished, as shown in
Figure 1. Designers realized that this need not be the case and that each of these
stages can overlap. Once an instruction is fetched and passed to the decode stage,
the next instruction can be fetched without waiting for the first instruction to
complete. This technique, known as   pipelining , is shown in Figure 2.
The example in Figure 2 executes the same two instructions, but in only nine cycles,
compared to 12 cycles in the nonpipelined case. There’s a curious thing about this
example, though: the second instruction takes eight cycles to complete when
pipelined, but only five when it’s not. This is because the various stages take different
d e v e l o p   Issue 16
6
ET   =      CPI   *   CT
N
i=1

Reading notes: Equation and figure references (Figure 1, Figure 2) appear without the figures themselves, so their content cannot be confirmed.

Printed dates: early 1980s

Languages: English

[Original PDF page 8](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=8)

### PDF page 9

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-0185a8d1284026536f003cd1e020e305a5a6fc717d265bda1a20ee5ce67bb9f7)

Transcribed text:

MAKING THE LEAP TO POWERPC   December 1993
7
Fetch
Decode
Execute
Write
Clock Cycles
First complete instruction
(7 cycles)
Second complete instruction
(5 cycles)
Two instructions
(12 cycles)
Figure 1
Nonpipelined Stages of Execution
Fetch
Decode
Execute
Write
Clock Cycles
First complete instruction
(7 cycles)
Second complete instruction
(8 cycles)
Two instructions
(9 cycles)
Pipeline stall
Pipeline bubble
Figure 2
Pipelined Stages of Execution

Printed dates: December 1993

Languages: English

[Original PDF page 9](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=9)

### PDF page 10

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-456741233b61efefd406a481d6642f956ee84b9b1920d0b06a95af44c7eaa0a8)

Transcribed text:

amounts of time to complete. The overall result is better, but unnecessary delays can
occur in instruction execution.
Variable numbers of cycles per stage is a characteristic of CISC architectures.
Complex instructions may occupy multiple words, requiring multiple cycles to fetch.
Multiple operands complicate the process of decoding. More complicated
instructions take longer to execute than simpler instructions. In Figure 2, the execute
stage of the second instruction is delayed two cycles while waiting for the first
instruction to execute. This is known as a pipeline   stall . Similarly, the write stage sits
idle for one cycle between the first and second instructions while waiting for the
execute stage of the second instruction to complete. This is known as a pipeline
bubble . Both stalls and bubbles reduce the efficiency of the pipeline and increase the
overall number of cycles per instruction.
INCREASING PIPELINE EFFICIENCY
RISC architectures work very hard to eliminate inefficiencies in the instruction
pipeline and keep the pipeline jammed full. RISC architectures share most or all of
the following common features:
•   Instructions are a uniform length. Variable-length instructions in
CISC architectures mean that time must be spent just figuring out
how long the instruction is and how many operands it uses. RISC
architectures don’t have that problem.
•   Simplified instructions, instruction formats, and addressing modes
allow for fast instruction decoding and execution.
•   Relatively large numbers of registers and large amounts of fast-
cache memory reduce cycles spent for access to slower, main
memory and allow frequently used variables to be kept loaded.
•   Load/store architecture is used for access to memory. The only
memory-to-register and register-to-memory operations are load
and store instructions. All other operations are register only.
Register-to-memory and memory-to-memory operations in CISC
architectures require multiple cycles to complete.
•   Instructions are simple. In an ideal RISC machine, each stage
requires one cycle to complete.
•   For improved performance, instructions can be implemented
directly in hardware instead of being microprogrammed as in
CISC processors.
Figure 3 shows an example of executing instructions on a nonpipelined RISC
machine. When instructions are not pipelined, they complete serially, with two
instructions completing in eight cycles. The optimal case for pipelining instructions is
shown in Figure 4. Now you have the two instructions executing in just five cycles. If
d e v e l o p   Issue 16
8

Languages: English

[Original PDF page 10](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=10)

### PDF page 11

[Cite this scan](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/1#scan-1095672bd3c845aaa668fe1dbbfc1e6caec392fa7be27136aebacf7d91a93e8f)

Transcribed text:

MAKING THE LEAP TO POWERPC   December 1993
9
Fetch
Decode
Execute
Write
Clock Cycles
First complete instruction
(4 cycles)
Second complete instruction
(4 cycles)
Two instructions
(8 cycles)
Figure 3
RISC Nonpipelined Stages of Execution
Fetch
Decode
Execute
Write
Clock Cycles
First complete instruction
(4 cycles)
Second complete instruction
(4 cycles)
Two instructions
(5 cycles)
Figure 4
RISC Pipelined Stages of Execution

Reading notes: Figure captions and stage labels appear as diagram text; reading order of diagram labels may be uncertain.

Printed dates: December 1993

Languages: English

[Original PDF page 11](https://www.vintageapple.net/files/27615486e815eec6d5aa31b5c10fd9a97a3e645cfa19601a7a9351cb0b00bff9/develop-16_9312_December_1993.pdf#page=11)

[Next transcribed scans](https://www.vintageapple.net/transcripts/media/va-develop-16-9312-december-1993-a3fb4a/2.md)
