Re: A92: Help


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

Re: A92: Help




>
> ;Place all headers here
>
> ;Find a handle, [use some routines in the TIOS.H] and store
> ; it in d0
>
> move.w       d0,-(a7)
> jsr          kernel::exec	;They don't call it core[exec] no more,
> 	; kernel::exec is the command in Fargo II
> lea		2(a7),a7
>
> ;place other data
>


  A point on optimization, lea x(a7),a7 always requires two words, one for the
instruction and another for the offset 'x'.  If the offset is 8 or less, addq
is smaller (and I believe faster too).  Try 'addq #2,a7' instead.

--Bryan
bcturner@eos.ncsu.edu


References: