MICROPROCESSOR 8085 PROGRAMMING:| Tutorial 2

Published: 01 October 2016
on channel: Pranav Madhani
1,042
like

Please watch: "Saibo Instrumental Piano Version"
   • Saibo Instrumental Piano Version   -~-
aim:
An array of Ten numbers is stored from memory location 2000H onwards. Write an 8085 assembly language program to separate out and store the EVEN and ODD
numbers on new arrays from 2100H and 2200H, respectively.

soln:


LXI H,2000
LXI D,3000
LXI B,3016



LL2: MOV A,M
ANI 01
JPE LL1
JPO LL3

LL3:MOV A,M
STAX D
INX D
INX H
MOV A,L
CPI 0AH
JNZ LL2
JZ END



LL1:MOV A,M
STAX B
INX B
INX H
MOV A,L
CPI 0AH
JNZ LL2
END:HLT


by pranav madhani


On this page of the site you can watch the video online MICROPROCESSOR 8085 PROGRAMMING:| Tutorial 2 with a duration of hours minute second in good quality, which was uploaded by the user Pranav Madhani 01 October 2016, share the link with friends and acquaintances, this video has already been watched 1,042 times on youtube and it was liked by like viewers. Enjoy your viewing!