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.
Calculations of sending line voltage
Byte have 8 combinations of bits.
What are the features used mode 1 in 8255? Two groups - group A and group B are available for stored data transfer. 1. Each group have one 8-bit data I/O port and one 4-bit
Q. Explain Working of Liquid-crystal display? This display needs only microwatts of power (over a thousand times less than a LED) and is used in such devices as electronic wris
Speed control of DC Motor The DC motor are versatile motors among the available electrical motors due to their superior characteristics. These motors give a smooth sp
angle of (1/1-ae^-jw)
Partial Indicators Method The partial indicators technique consists of calculating various measures of the financial, operating, commercial, and quality of a business's perfor
What are the important requirements of a good insulating material? Important requirements of good insulating materials:- The necessity of good insulating materials can be cl
Q. Consider a 1-bit version of the digital comparator shown in Figure. Note that the operation of this circuit is such that whichever output is 1 gives the desired magnitude compar
1. Pattern recognition A synchronous sequential machine is to generate 1 on output z after the next clock pulse whenever the bit sequence on input x has exactly two 0’s in the last
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