[futurebasic] Re: [FB] Toolbox FN RelString

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 1998 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Wed, 30 Dec 1998 11:12:08 -0600
>Staz wrote:
>>LOCAL FN relString(@word1&,@word2&)
>>  `     move.l  ^word1&,a0
>>  `     move.l  ^word2&,a1
>>  `     moveq   #0,d0
>>  `     move.b  (a0)+,d0
>>  `     swap    d0
>>  `     move.b  (a1)+,d0
>>  `     dc.w    $A050
>>END FN
>
>Just curious...I'm familiar with the first three statements, but what do
>the following three statements do?
>>  `     move.b  (a0)+,d0
>>  `     swap    d0
>>  `     move.b  (a1)+,d0

A word size int is formed from a byte pointed to by register A0 and a byte
pointed to by A1



In case you are interested, my dog now has an email address. You can write
to her at summer@.... Don't expect a reply tho. She can't read.

-STAZ   ~)~

--------------------------------------------------------------
STAZ Software * 4387 Leisure Time Dr * Diamondhead, MS 39525
--------------------------------------------------------------
Orders: 800-348-2623      EMail http: //www.stazsoftware.com
  Tech: 228-255-7085             FAX: 228-255-7086
--------------------------------------------------------------