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 +