Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

JGE in assembly:

                                 Jump if Greater or equal:

Write a program that show working of JGE.

.model small
m1 db "jge Not JUMP$"
m2 db"jge JUMP$"
mov ax,@data
mov ds,ax
mov bx,4
mov cx,44
cmp bx,cx
jge A                       //jump when bx is  greater or equal than cx
mov ah,09h
mov dx,offset m1
int 21h
jmp B
mov ah,09h
mov dx,offset m2
int 21h


This post first appeared on AR Programming, please read the originial post: here

Share the post

JGE in assembly:


Subscribe to Ar Programming

Get updates delivered right to your inbox!

Thank you for your subscription