home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.m68k
- Path: sparky!uunet!usc!rpi!newsserver.pixel.kodak.com!laidbak!tellab5!mcdchg!mcdphx!gcall
- From: gcall@systemname.uucp (Glen Call)
- Subject: Re: arbitrary entry points
- Message-ID: <1992Nov4.153341.10980@phx.mcd.mot.com>
- Originator: gcall@
- Sender: gcall@systemname (Glen Call)
- Nntp-Posting-Host: tajmahal.phx.mcd.mot.com
- Organization: Motorola Computer Group Marketing
- References: <1992Oct26.192527.14411@jato.jpl.nasa.gov> <68485@cup.portal.com> <1992Oct31.194713.20523@netcom.com>
- Date: Wed, 4 Nov 1992 15:33:41 GMT
- Lines: 29
-
-
- In article <1992Oct31.194713.20523@netcom.com>, chet@netcom.com (Eric Chet) writes:
- |> In article <68485@cup.portal.com> Dan_E_Babcock@cup.portal.com writes:
- |> >jsr (a0) is a slightly confusing aspect of 68K assembly syntax. It means jump
- |> >to the addresss contained in a0, NOT jump to the address conatined in memory
- |> >pointed to by a0. This should solve your problem. :)
- |> >
- |> >Dan
- |>
- |> I think of it this way Ax is an address register, it stores a address for me.
- |> I will jump to the address in (Ax).
- |>
- |> JUst a thought
- |>
-
- Or look at it this way: data movement instructions calculate an effective
- address, then use it to read/write memory. Other instructions, such as LEA,
- PEA, JSR, etc. calculate the effective address and use it directly. That is why
- IMMEDIATE operands are not permitted with these instructions.
-
- Hope this helps.
-
- Glen
- ------------------------------------------------------------------------------
- Glen Call Technical Marketing Systems Engineer
- Motorola Computer Systems, Inc. gcall@phx.mcd.mot.com or mcdapps!gcall
- M/S DW212 phone: (602) 438-3408
- 2900 S. Diablo Way pager: 1-602-244-3252 Pager#2818 (digital)
- Tempe, AZ 85282 FAX: (602) 438-3534
-