become expert | help | login
refer a friend - earn nickels!!
 advanced

  Ask & Discuss Questions with Community & Experts

Moderation Team
  500 chars left
Ask community Community Discussion Question: What will be the result in the accumulator after the last instruction is executed?
Reply Forum Index -> Electrical Engineering Email  
Author Message
Gunjan (0)

Olaaa!! Perrrfect answer. 0  [0 rates]

Gunjan's Avatar

total posts: 74    
Offline

If in addition following code exists from 0109H onwards

ORI 40 H

ADD M

What will be the result in the accumulator after the last instruction is executed?

    
Aniruddha (26)

Forum Expert

Olaaa!! Perrrfect answer. 4  [7 rates]

Aniruddha's Avatar

total posts: 159    
Offline

The question is incomplete

The question is :

The following program starts at location 0100H
LXI SP, 00FF
LXI H, 0701
MVI A, 20H
SUB M

The content od accumulator when the program counter reaches 0109H is
(A) 20H (B)02H (C)00H (D)FFH

Ans : 20H

If in addition following code exists from 0109H onwards
ORI 40H
ADD M

your Ans : 60 H ( 20H + 40 H)

  this reply:   0 points  (with Olaaa!! Perrrfect answer.   in 0   votes   )     [?]
 
You have to be logged on to rate
  
 
reply Forum Index -> Electrical Engineering
Go to: 
Sponsored Links
preparing GATE 2010?
solved, model Papers,study Material
courses from Brilliant. Buy Now !

goiit.com/Brilliant-GATE

preparing GATE ?
online, Brilliant Tutorial courses
solved, model papers. Buy Now!

gateprep.com/GATE

preparing for IAS ?
Brilliant Tutorial's correspondence
Complete course. Buy Online Now !

goiit.com/Brilliant-UPSC-postal

preparing IES ?
solved, model paper, prelim monitor
online, study material. Buy Online!

go4ias.com/IES

preparing for BSNL JTO ?
solved, model paper, rank predictor
online, study material. Buy Online!

go4ias.com/BSNL-JTO