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.
The automobile shall not rely on fossil fuel for energy. The automobile shall be designed using available and emerging technology. The automobile shall seat at least five
# complete working of thermal transducers
Program counter holds the address of either the first byte of the next instruction to be fetched for implementation or the address of the next byte of a multi byte instruction, whi
Q. Dual-ramp analog to digital converter? Figure (a) shows the block diagram of a dual-ramp (dual-slope) A/D converter. After a start-of-conversion pulse, the counter is cleare
Q. Describe about Absolute Poverty? Poverty defined with respect to an absolute material standard of living. A person is absolutely poor if their income does not allow them to
Q. Process of Amplitude Modulation? In AM the message signal is impressed on the amplitude of the carrier signal. There are several different ways of amplitude modulating the c
Q. What are concentrators? Elucidate how it helps in connecting number of subscribers. Ans: In rural areas, subscribers are usually dispersed. It is both expensive and unn
Q. Draw the circuit of a 7805 voltage regulator? Explain the functions of the capacitors used at its input and output sides. Functions of capacitors used at input and outp
Particles of mass M and m separated in space by a distance R exert a mutually attractive gravitational force F on one another given by where G is the universal gravitationa
Q. What is Polyphase Induction Machine Performance? Some of the important steady-state performance characteristics of a polyphase induction motor include the variation of curre
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