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.
For carry Flag JC ( jump on Carry ) and JNC (Jump on No carry ) Instructions : JC transfer the execution of the program to the specified memory address if carry
Q. Explain working of Single-Phase Induction Motors? For reasons of simplicity and cost, a single-phase power supply is universally preferred for fractional-horsepower motors.
the plot of amper circuital law by using matlap?
Q. Let m 1 (t) and m 2 (t) be two message signals, and let u 1 (t) and u 2 (t) be the corresponding modulated versions. (a) When the combined message signal m 1 (t) + m 2 (t) DS
Explain the difference between a microprocessor and an embedded microcontroller
Q. Show output Characteristic Of Common Emitter Configuration? Output characteristics: This family of curves may be divided into three regions just as was done for common base
Q. Error speci?cations on a 10-A digital ammeter are given as 0.07% of the reading, 0.05% of full scale, 0.005% of the reading per degree Celsius, and 0.002% of full scale per degr
List the various addressing modes present in 8086? There are 12 addressing modes are present in 8086. They are, (a) Register and immediate addressing modes _ Register ad
why very high resistance wire is used is field windind and low resistance wire is used in armature winding in DC shunt machine?
Q. For the capacitor shown in Figure connected to a voltage source, sketch i(t) and w(t).
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