home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!olivea!hal.com!decwrl!sun-barr!ames!tulane!uflorida!sparky.cis.ufl.edu!scroll
- From: scroll@sparky.cis.ufl.edu (Steve Croll)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Assembler programming.
- Message-ID: <36862@uflorida.cis.ufl.edu>
- Date: 28 Aug 92 15:26:29 GMT
- References: <14448@mindlink.bc.ca> <64374@cup.portal.com> <1992Aug21.220718.24365@jato.jpl.nasa.gov>
- Sender: news@uflorida.cis.ufl.edu
- Reply-To: scroll@sparky.cis.ufl.edu (Steve Croll)
- Organization: U of Florida. Computer Science Dept.
- Lines: 15
- Nntp-Posting-Host: sparky.cis.ufl.edu
-
- In article <1992Aug21.220718.24365@jato.jpl.nasa.gov>, jdickson@jato.jpl.nasa.gov (Jeff Dickson) writes:
- |> I stand corrected. Quite unnerving to think that in situations where address
- |> register indirect with index type addressing is used (i.e. null terminating
- |> a string: move.b #0,(a0,d0.w) ) requires an additional memory read _just_
- |> to find out that the displacement value wasn't given (zero).
-
- Actually, the length of the instruction (on a 68000) does not depend on
- the value of the displacement; there is no additional memory read.
- Example:
-
- 00000000 13BC 0000 1000 1 move.b #0,0(a1,d1.w)
- 00000006 13BC 0000 107F 2 move.b #0,127(a1,d1.w)
-
- --
- Steve Croll (internet: scroll@sparky.cis.ufl.edu office: 904-392-1507)
-