From bd3a76e0ac56abe7fa008b013b351c27873bd109 Mon Sep 17 00:00:00 2001 From: mohit0003 <31645375+mohit0003@users.noreply.github.com> Date: Sat, 27 Oct 2018 11:56:24 +0530 Subject: [PATCH] Update linear_search.asm --- linear_search.asm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/linear_search.asm b/linear_search.asm index 4737f79..eb682b2 100644 --- a/linear_search.asm +++ b/linear_search.asm @@ -24,13 +24,13 @@ code segment xor ax,ax ;initializing ax register with value 0 mov cx,5 - mov bl,2 + mov bl,2 mov si,-1 next: inc si - mov al,array[si] + mov al,array[si] ;fetching next array element cmp al,ele je present ;if search is successful loop next @@ -51,4 +51,4 @@ code ends end start ;............................................................. - \ No newline at end of file +