357) Answer C.1
LXI H 0010H. //load register pair HL with 0010H
Contents of H - 0000 0000 , L - 0001 0000
DCX H. //decrease contents of register pair HL by 1
Contents of H - 0000 0000, L - 0000 1111
MOV A L. // move contents of register L to accumulator
Contents of Accumulator - 0000 1111, H - 0000 0000, L - 0000 1111
ORA H. // perform OR operation between Accumulator and register H
Contents ofaccumulator - 0000 1111, H - 0000 0000, L - 0000 1111
XRA A. // exclusive OR operation between accumulator and register A (accumulator)
Contents of Accumulator - 0000 0000, H - 0000 0000, L - 0000 1111
As the contents of accumulator becomes all zeros, zero flag will be set.
JNZ Loop. // jump to label loop if zero flag is not set.
Here zero flag has set. So it will not loop further. Stop here. So only 1 time LOOP will be executed.