(a) Write a program to do the following operation in 8085 : 10 (i) De…
Previous year question for Exam.
Question
(a) Write a program to do the following operation in 8085 : 10
(i) Define set of 10 bytes of data at location XX50H.
(ii) Check each reading to determine whether it is positive or negative.
(iii) Add all positive numbers and reject all negative numbers.
Draw the flowchart.
(b) Specify the contents of memory location XX74H after execution of the following instructions : 10
(i) LX1H, XX70H
(ii) MV1, 05H
(iii) MV1 A, 01H
STORE : = MOV M, A
(iv) 1NR A
(v) 1NX H
(vi) DCR B
JNZ STORE
HLT.
- Year: 2018