"assembly language program to separate even and odd numbers in 8086" Code Answer's

You're definitely familiar with the best coding language Assembly that developers use to develop their projects and they get all their queries like "assembly language program to separate even and odd numbers in 8086" answered properly. Developers are finding an appropriate answer about assembly language program to separate even and odd numbers in 8086 related to the Assembly coding language. By visiting this online portal developers get answers concerning Assembly codes question like assembly language program to separate even and odd numbers in 8086. Enter your desired code related query in the search bar and get every piece of information about Assembly code related question on assembly language program to separate even and odd numbers in 8086. 

assembly language program to separate even and odd numbers in 8086

By Fantastic FlatwormFantastic Flatworm on Jul 22, 2020
.model small

.data 
     arr1    db 1,2,3,1,3,5,6,3,4,5
     OddArr  db 10 dup(?)
     EvenArr db 10 dup(?)
     OddAdd  db 0
     EvenAdd db 0

.code
     mov ax,@data
     mov ds,ax

     LEA BX,arr1
     LEA SI,OddArr
     LEA DI,EvenArr
     mov cx,10
     mov dh,02

     L1:
          mov ah,00
          mov al,[BX]
          mov dl,al
          div dh
          cmp ah,00
          je EVEN1
          mov [DI],dl
          add OddAdd,dl
          INC DI
          INC BX
          Loop L1
          jmp CAL


     EVEN1:
          mov [SI],dl
          add EvenAdd,dl
          INC SI 
          INC BX
          Loop L1

     CAL:     
          mov ax,0000
          mov bx,0000
          mov al,OddAdd
          mov bl,EvenAdd

          mov ax,4C00h
          int 21h

end

Source: www.codepoc.io

Add Comment

-9

All those coders who are working on the Assembly based application and are stuck on assembly language program to separate even and odd numbers in 8086 can get a collection of related answers to their query. Programmers need to enter their query on assembly language program to separate even and odd numbers in 8086 related to Assembly code and they'll get their ambiguities clear immediately. On our webpage, there are tutorials about assembly language program to separate even and odd numbers in 8086 for the programmers working on Assembly code while coding their module. Coders are also allowed to rectify already present answers of assembly language program to separate even and odd numbers in 8086 while working on the Assembly language code. Developers can add up suggestions if they deem fit any other answer relating to "assembly language program to separate even and odd numbers in 8086". Visit this developer's friendly online web community, CodeProZone, and get your queries like assembly language program to separate even and odd numbers in 8086 resolved professionally and stay updated to the latest Assembly updates. 

Assembly answers related to "assembly language program to separate even and odd numbers in 8086"

View All Assembly queries

Assembly queries related to "assembly language program to separate even and odd numbers in 8086"

assembly language program to separate even and odd numbers in 8086 program in assembly language to find even numbers from 1 to 10 Copying assembly from 'Temp/Assembly-CSharp-Editor.dll' to 'Library/ScriptAssemblies/Assembly-CSharp-Editor.dll' failed add two numbers in assembly language subtract two numbers in assembly language Error CS0012 The type "'FontFamily'" is defined in an assembly that is not referenced. You must add a reference to assembly 'PresentationCore learn assembly language create your own macro in assembly language assembly language loop example masm multiply two numbers assembly lmc assembly add program to startup how to check assembly compatibility X64 and x86 hello world x64 assembly func assembly start learning assembly MOD OPERATOR for register in arm assembly dot net core 3.1 The type or namespace name 'TestClassAttribute' could not be found (are you missing a using directive or an assembly reference?) No assembly found containing an OwinStartupAttribute. Arm assembly fibonacci hello world in assembly xor in assembly assembly fibonacci hello world x86 assembly The type or namespace name 'IEnumerator' could not be found (are you missing a using directive or an assembly reference?) set assembly highligh vim if statement in assembly x86 ARM assembly divide by 2 learn assembly The type or namespace name 'MovieContext' could not be found (are you missing a using directive or an assembly reference?) arm assembly collatz conjecture x64 assembly windows 64 bit assembly tutorial how to use assembly on mac declare variables in assembly nasm sort in assembly pcspim jz contion assembly assembly mov char slt assembly no context type was found in the assembly enable-migrations visual studio change assembly name assembly sum idl language Z language latex answer to life the universe and everything what do you mean by io address and memory address io mapped io and memory mapped io in 8085 spliting dateetimeindedx into date and time column html drag and drop anywhere

Browse Other Code Languages

CodeProZone