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.
This assignment concerns the planning of a software development. You are required to plan the software development for a typical microprocessor based, 4-channel temperature control
What are the cautions to be taken before starting work on electrical installations? Ans: Before starting any electrical works on installations disconnect the power supply to
Q. Explain Position servo in a radar system? Figure depicts the essential elements of a position servo system. In a radar system, an electromagnetic pulse is radiated from an a
all about ans in this topic
May I know if your site can help me with design a snubber and model the circuit using LTSpice software?
For zero flag RZ ( Return on Zero) and RNZ ( Return on no zero) Instructions RZ returns from the subroutine to the calling program, if zero flag is set (Z= 1). The
Q. Can you explain Twos complement addition? 2's Complement Addition Two's complement addition follows the same rules as binary addition. For example, 5 + (-3) = 2
Q. Several forms of interference? Interference may take several forms: ac hum, higher frequency pulses and "whistles," or erratic waveforms commonly known as static. Interferin
An abrupt silicon (n i = 10 10 cm -3 ) p-n junction consists of a p-type region containing 10 16 cm -3 acceptors and an n-type region containing 5 x 10 16 cm -3 donors. a)
different coupling methods
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