You are on page 1of 2
& testbook.com rd lt a tell Start Complete Exam Preparation A) Daily Live ocd aac a Tr MasterClasses Cres ea ig Download App Question View this Question Online > For 8085 microprocessor, if register B has 65 H and accumulator has 97 H, what will be content of a accumulator after executing instruction SUB B? This question was previously asked in Electronics 22 March 2022 Official —— etka Paper | View all UPPSC Polytéthni@Leetiifer Papers > 1. 65H 7H 3. 32H 4, 28H Answer (Detailed Solution Below) Option 3: 32 H Crack with eee ee eect aaa a. ‘ea. 1 Detailed Solution Concept: SUB: a In 8085 Instruction, SUB is a mnemonic for ‘Subtract contents of R from Accumulator’. Here R. stands for any of the following registers, or memory location M pointed by HL pair. Example: SUB B( it subtracts the content of the B register from the content of the accumulator.) Analysis: Given; B= 65H Content of accumulator (A) = 97H SUBB = (A-B) = (97-65) = 32H

You might also like