0 0 votes CO & Architecture assembly + – Sourabh Kumar 1.5k views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote Answer is C. MVI A 30H // Move 30H into the accumulator Accumulator contains 0011 0000 ACI 30 H //Add 30H to the contents of accumulator Accumulator contains 0110 0000 XRA A //XOR with Accumulator Accumulator contents becomes 0000 0000 POP // top of the stack will be copied to H register. It do not affect the contents of Accumulator Finally the Contents of the Accumulator are 0000 0000 I.e. 00H vamsi2376 answered Jun 10, 2016 vamsi2376 comment Share Follow See all 6 Comments 6 6 Comments reply Sourabh Kumar commented Jun 10, 2016 reply Follow flag On which register you apply xor. 0 0 replyShare vamsi2376 commented Jun 10, 2016 reply Follow flag XOR with Accumulator A. (A XOR A = 0) 0 0 replyShare Sourabh Kumar commented Jun 11, 2016 reply Follow flag no i don't think so reference read this: http://microprocessorforyou.blogspot.in/2012/06/instruction-9.html http://microprocessorforyou.blogspot.in/2012/05/instruction-7.html 0 0 replyShare vamsi2376 commented Jun 11, 2016 reply Follow flag 5.XRA: - The content of accumulator are exclusive OR with specified register or memory location. XRA B means A xor B.... Performing exclusive or between contents of A and B In the question it is given that XRA A Exclusive or accumulator with itself. Results in clearing its contents. 0 0 replyShare Sourabh Kumar commented Jun 11, 2016 reply Follow flag here in question, A is separate register or accumulator. 0 0 replyShare vamsi2376 commented Jun 11, 2016 reply Follow flag A is accumulator 0 0 replyShare Please log in or register to add a comment.