Re: A89: .s instruction extention
[Prev][Next][Index][Thread]
Re: A89: .s instruction extention
beq.s is just another name for beq.b.
the s stands for short, a short jump, that is an 8 bit displacement.
There is not really any need for specifying this. Any good assembler should
choose the best one. (if the jump is less then 127/128 bytes away, a short jump
should be choosen)
//Olle
Matt Waters wrote:
>
> I was reading the source to the kernel install file of TEOS and noticed the
> following lines of code:
>
> lea $30,a0
> tst.w (a0)+
> beq.s install
>
> I am under the impression that the .s extention references a set flag, since
> (to the best of my knowledge)the tst instruction only affects the flag
> register, however, how does the 68k know which flag the .s extention is
> referencing? If anyone could shed some light on this, please let me know.
> ________________________________________________________________________
> Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
References: