example


Example:

                        CMP    AX,BX    ; compare instruction: sets flags

JE        THERE    ; if equal then skip the ADD instruction 

ADD  AX, 02    ; add 02 to AX 

THERE: MOV     CL, 07    ; load 07 to CL 

In the illustration above control of program will directly transfer to label THERE if value stores in AX register is equivalent to that of register BX. The similar illustration can be rewritten in the below manner using different jumps.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: example
Reference No:- TGS0327982

Expected delivery within 24 Hours