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

JB (Jump below):

                                               Jump below:
JE is equal to <.>
Write a program that show working of JB.

.model small
.data
m1 db "Jb Not JUMP$"
m2 db"Jb JUMP$"
.code
mov ax,@data
mov ds,ax
mov bx,7
mov cx,44
cmp bx,cx
jb A                       //jump it bx is less then ax
mov ah,09h
mov dx,offset m1
int 21h
jmp B
A:
mov ah,09h
mov dx,offset m2
int 21h
B:
.exit
end

OUTPUT:





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

Share the post

JB (Jump below):

×

Subscribe to Ar Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×