Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Assembly Language - <b>js jump if sign flags: not altered</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
JS               Jump If Sign                        Flags: not altered

JS short-label

          Jump Condition:  Jump if SF = 1

    JS transfers control to short-label if the Sign Flag is set. The
    target of the jump must be within -128 to +127 bytes of the next
    instruction.

  --------------------------------------------------------------------------
   Operands                  Clocks   Transfers  Bytes   Example
   short-label              16 or 4       -        2     JS NEGATIVE
  --------------------------------------------------------------------------

       Notes:         Use JNS, Jump if No Sign, to jump if the sign flag
                      is clear.

See Also: JNS

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson