railway RRB JE (CBT I + CBT II) Mock Test 2024 Digital Electronics Microprocessors Programming with 8085
Consider the following program for 8085
XRA A
LXI B, 0007H
\(\begin{array}{*{20}{c}} {{\rm{Loop}}:}&{{\rm{DCX\;B}}}\\ \;&{{\rm{JNZ\;Loop}}} \end{array}\)
The loop will be executed1
8 times
2
Once
3
7 times
4
Infinite times