1
GATE EE 2003
MCQ (Single Correct Answer)
+2
-0.6
The following program is written for an $$8085$$ microprocessor to add two bytes located at memory addresses $$1FFE$$ and $$1FFF$$
$$\eqalign{ & LXI\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,H,\,\,\,1FFE \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,B,\,\,\,M \cr & INR\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,L \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,A,\,\,\,M \cr & ADD\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,B \cr & INR\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,L \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,M,\,\,\,A \cr & XRA\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,A \cr} $$
$$\eqalign{ & LXI\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,H,\,\,\,1FFE \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,B,\,\,\,M \cr & INR\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,L \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,A,\,\,\,M \cr & ADD\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,B \cr & INR\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,L \cr & MOV\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,M,\,\,\,A \cr & XRA\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,A \cr} $$
On completion of the execution of the program, the result of additional is found.
2
GATE EE 2001
MCQ (Single Correct Answer)
+2
-0.6
An Intel $$8085$$ processor is executing the program given below.
$$\eqalign{ & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,MVIA,\,\,10H \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,MVIB,\,\,10H \cr & BACK:\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,NOP \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,ADD\,\,B \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,RLC \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,JNC\,\,BACK \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,HLT \cr} $$
$$\eqalign{ & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,MVIA,\,\,10H \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,MVIB,\,\,10H \cr & BACK:\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,NOP \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,ADD\,\,B \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,RLC \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,JNC\,\,BACK \cr & \,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,HLT \cr} $$
The number of times that the operation $$NOP$$ will be executed is equal to
3
GATE EE 1994
Fill in the Blanks
+2
-0
The stack pointer of a microprocessor is at $$A001H.$$ At the end of execution of following instructions, the value of stack pointer is _____________
$$\eqalign{ & PUSH\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,PSW \cr & XTHL \cr & PUSH\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,D \cr & JMP\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,FC70H \cr} $$
$$\eqalign{ & PUSH\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,PSW \cr & XTHL \cr & PUSH\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,D \cr & JMP\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,\,FC70H \cr} $$
GATE EE Subjects
Browse all chapters by subject
Digital Electronics
Control Systems
Power System Analysis
Analog Electronics
Electric Circuits
Electrical and Electronics Measurement
Power Electronics
Electromagnetic Fields
Signals and Systems
Electrical Machines
Engineering Mathematics
General Aptitude