A89: Re: .s instruction extention


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

A89: Re: .s instruction extention




Hi!

> 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.

".s" means "short" not "set". "beq.s" is on MC68000 the same as
"beq", but later processors (like 68020) have a "long" branches
in addition to "short" ones, so ".s" is introduced to make a
difference between them (but this is not important on 68000).

Zeljko




Follow-Ups: