home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!wupost!kuhub.cc.ukans.edu!husc-news.harvard.edu!husc-news!baker4
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: A few more suggestions for THINK C
- Message-ID: <BAKER4.92Jul29124341@husc10.harvard.edu>
- From: baker4@husc10.harvard.edu (David Baker)
- Date: 29 Jul 92 12:43:41
- References: <dx3uv972.9c6tdb@moebius.cubetech.com>
- Distribution: comp
- Organization: Department of Psychology, Harvard University
- Nntp-Posting-Host: husc10.harvard.edu
- In-reply-to: peterc@cubetech.com's message of Fri, 24 Jul 92 20:42:21 CDT
- Lines: 28
-
-
- In article <dx3uv972.9c6tdb@moebius.cubetech.com> peterc@cubetech.com (Peter Creath) writes:
-
-
- lea myVariable,A0
- move.w #0x04,D0
- muls.w #0x0304,D0
- add.w D0,A0
- ^^^^^^^^^^^^^^^^^^
- move.l (A0),D1
- lea myVariable,A0 /* note the redundance -- the correct address */
- move.w #0x04,D0 /* is already in A0 */
- muls.w #0x0304,D0
-
-
- Um, that there line looks like a0 no longer contains yourVariable.
-
- --
- -------------------------------------------------------------------------------
- David P. Baker Misbrainer:
- Work: dpb@huelings.harvard.edu The onions impressed herein are mine,
- Home: baker4@husc.harvard.edu knot throes of my imploder.
- Office: William James Hall 844 He wouldn't want 'em, anyway.
- Department of Psychology
- Harvard University If responding by mail, please use my
- (617) 495-3773 "Work" address above.
- -------------------------------------------------------------------------------
-
-