Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
SUB Subtract Instruction
This instruction is used to subtract the contents of any register or memory location from the contents of accumulator. There are two formats as follows:
a.Subtract the contents of Register The contents of register R are subtracted from the contents of accumulator and result of operation is stored in the accumulator. Here register R may be any one of the A, B, C,D, E,H or L registers.
SUBR ( A- A - R)
Flags : All flags are modified according to the results.
As we have already discussed in chapter 1 that the subtraction is done using 2 s complement method in microprocessor. Followings steps are followed by the 8085 microprocessor while performing subtract operations.
Step1. Converts subtrahend ( the number to be subtracted) into its 1 s complement form.
Steps2. Adds 1 to the 1 complements form to obtain 2 complement form the subtrahend.
Step3. Adds 2 complements to the minuend ( the contents of the accumulator).
Step 4. Complements the carry flag.
8086 is having 2 dissimilar units i.e. BIU(Bus Interface Unit) and EU(Execution Unit), these two units work synchronously.
What are flip flop circuits in digital electronics? Discuss race around condition in J-K Flip Flop
With the help of energy bands explain how conduction takes place in conductors, semiconductors and insulators. On the basis of energy band materials are categorized as insulato
Q. Show Application of bistable multivibrator? · Bistable multivibrator is used as counters and storing of binary information. · It is used as frequency divider in timing ci
Q. Which of the 3 transistor configuration is best to use in cascade if maximum voltage gain is to be realized? The common collector configuration is not used for intermediate
Q. Write and execute a PSpice programto analyze the resistor bridge circuit shown in Figure to solve for the node voltages and the voltage-source current. Then find the voltage acr
Explain the operation of 8279. Explain the following terms: (i) N key Roll over. (ii) Key board debounce. (iii) FIFO RAM. Ans The 8279 microprocessor i
what is compensation of bjt
Explain the terms: valence band, conduction band, valence electrons, and energy gap with the help of suitable diagrams. Valence Electrons: The electrons in the outermost orbi
What are operations performed on data in 8085 The various operations performed are Store 8-bit data Perform arithmetic and logical operations Test for conditio
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd