X86-assembly/Instructions/jg

From aldeid
Jump to navigation Jump to search
You are here:
jg

Description

  • The jg instruction is a conditional jump that follows a test.
  • It performs a signed comparison jump after a cmp if the destination operand is greater than the source operand

Syntax

jg destination, source

Examples

cmp    bl, 78h
jg     short loc_402B1D    ; if bl > 78h, jump to loc_402B1D

Comments