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

JE (Jump if equal):

                                      JE (Jump if equal)
Write a program that show the use of JE in assembly language.

.model small
.data
m1 db "save$"
m2 db"border$"
.code
mov ax,@data
mov ds,ax
mov bx,9
mov cx,9
cmp bx,cx
je A
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

JE (Jump if equal):

×

Subscribe to Ar Programming

Get updates delivered right to your inbox!

Thank you for your subscription

×