svs

Set if overflow set

Sets the destination byte to $FF (-1) if overflow set, otherwise to 0.

Size .b

XNZVC –––––
  • Changes no flag
  • Reads V

Forms

Operands

<ea>
An operand using one of the instruction’s supported addressing modes, such as d0, (a0)+ or 4(a1). It may name a register, memory or an immediate value. More
move.l #5, d0
tst d0
spl d1 ; d1 = $FF (positive)
seq d2 ; d2 = $00 (not zero)

move.l #0, d3
tst d3
seq d4 ; d4 = $FF (zero)
sne d5 ; d5 = $00 (is zero)

move.l #-1, d6
tst d6
smi d7 ; d7 = $FF (negative)