You are here : assembly8086JNA

JNA - 8086

Short Jump if first operand is Not Above second operand (as set by CMP instruction). Unsigned.  
Algorithm:  if CF = 1 or ZF = 1 then jump


Syntax

JNA Label


Example

   include 'emu8086.inc'  
   ORG 100h    
   MOV AL, 2 
   CMP AL, 5    
   JNA label1    
   PRINT 'AL is above 5.'    
   JMP exit 
label1:    
   PRINT 'AL is not above 5.' 
exit:    
   RET


Output / Return Value


Limitations


Alternatives / See Also


Reference