[A89] Re: Quite in here... let's discuss something!


[Prev][Next][Index][Thread]

[A89] Re: Quite in here... let's discuss something!




This code could:

> putSprite_loop1:
>  clr.l d4
>  move.w (a0)+,d4
>  swap d4
>  lsr.l d3,d4
>  eor.l d4,(a1)
>  lea 30(a1),a1
>  dbra d2,putSprite_loop1
>  rts

could be optomized into:

 moveq #30,d5 ;
putSprite_loop1:
 move.w (a0)+,d4
 swap d4
 clr.w d4
 lsr.l d3,d4
 eor.l d4,(a1)
 add.l d5,a1  ;or maybe an add.w ?
 dbra d2,putSprite_loop1
 rts

23 He (Elisha) went up from there to Bethel; and while he was going up on 
the way, some small boys came out of the city and jeered at him saying, 
"Go away, baldhead!  Go away, baldhead!  24 When he turned around and saw 
them, he cursed them in the name of the lord.  Then two she-bears came 
out of the woods and mauled forty-two of the boys.  25 From there he went on 
to Mount Carmel, and then returned to Samaria.

	- 2 Kings 2: 23-25



Follow-Ups: References: