35.3.6.10 INTEGER COMPARES AND CONDITIONAL JUMPS ON JAVA VIRTUAL MACHINE




LCMP			94	Long compare


				(Address Compare)
IF_ACMPEQ label		A5	a == b	
IF_ACMPNE label		A6	a != b
IFNONULL  label		C7	a != null
IFNULL    label		C6	a == null


				(Integer Compare)
IF_ICMPEQ label		9F	a == b
IF_ICMPGE label		A2	a >= b
IF_ICMPGT label		A3	a > b
IF_ICMPLE label		A4	a <= b
IF_ICMPLT label		A1	a < b
IF_ICMPNE label		A0	a != b

				(Integer compare with zero)
IFEQ	  label		99	a == 0
IFGE	  label		9C	a >= 0
IFGT	  label		9D	a >  0
IFLE	  label		9E	a <= 0
IFLT	  label		9B	a <  0
IFNE	  label		9A	a != 0
	



Index Prev Next