An 8085 microprocessor accesses two memory locations (2001H) and (2002H), that contain 8-bit numbers 98H and B1H, respectively. The following program is executed:
LXI H,2001H
MVI A,21H
INX H
ADD M
INX H
MOV M,A
HLT
At the end of this program, the memory location 2003H contains the number in decimal (base 10) form ________.
LXI loads HL=2001H, MVI loads A=21H, and INX H makes HL=2002H. ADD M adds the contents of 2002H, B1H, to A: $21\text{H}+\text{B1H}=\text{D2H}$. INX H gives HL=2003H, and MOV M,A stores D2H there. $\text{D2H}=13\times16+2=210$.
More VCOs and timers, combinatorial and sequential logic circuits, multiplexers, demultiplexers questions
GATE 2019 EE Q45– The output expression for the Karnaugh map shown below is
GATE 2019 EE Q46– In the circuit shown below, X and Y are digital inputs, and Z is a digital output. The…
GATE 2018 EE Q24– In the logic circuit shown in the figure, Y is given by
GATE 2018 EE Q46– Which one of the following statements is true about the digital circuit shown in the…
GATE 2018 EE Q47– Digital input signals A,B,C with A as the MSB and C as the LSB are used to realize the…
GATE 2016 EE Q21– Consider the following circuit which uses a 2-to-1 multiplexer as shown in the figure…