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.
all about ans in this topic
Explain procedure to take shut down and to test the power line before starting work? Ans: Study the circuit and find out the circuit breaker to be opened. Open and lock the c
What is an assembler? Assembler: An assembler or macro-assembler usually forms a part of the operating system. This translates an assembly language program in machine languag
Over 6,000 companies have established operations within Jebel Ali Free Zone, using it as a base to distribute their products to the GCC countries and beyond. These companies hav
If aluminium and copper pipes are of same length and diameter ... same magnet dropped through them...in copper it takes more time to come out of other end, i myself have done this.
Q. The flux-density distribution in the air gap of a 60-Hz, two-pole, salient-pole machine is sinusoidal, having an amplitude of 0.6 T. Calculate the instantaneous and rms value
Uses of FET IGBTs (Insulated-gate bipolar transistor) see application in switching internal combustion engine ignition coils, in which fast switching and voltage blocking cap
Q. Due to what special property does an emitter amplifier work as a buffer amplifier? The circuit design of the emitter follower is such that it has a high input impedance and
1. A very narrow laser beam in air is shone into a sphere of solid glass that has a uniform refractive index n>1 and radius ? . The beam makes an angle a in air with the normal to
Q. Consider the 4-bit R-2R ladder D/A converter with V ref =-10 V. Determine the analog output voltage when the binary input code is 1100. Also, find what reference voltage is to
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