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 the circuit of Figure, obtain the complete solution for the current i L (t) through the 5-H inductor and the voltage v x (t) across the 6- resistor.
For the circuit of Fig 1a: (i) Using Ohm's Law , determine the equivalent resistance across the battery (ii) determine the current through each resistor (iii) the arrang
4-bit magnetude converter thyory
Example Memory to Registers Example: Write assembly language statement to copy data byte 36H stored at 2025 H to register B. Solution : Assuming 2025 H is sto
Give the properties and application of PVC. Polyvinylchloride (PVC): It is replacing rubber to a great extent in veracious applications. There is PVC insulated (non-sheathed)
why we are going to realization of digital filter after finding the H(z).
A large induction motor is usually started by applying a reduced voltage across themotor; such a voltage may be obtained from an autotrans- former. A motor is to be started on 50%
Discuss all the five software interrupt instructions. The INTEL family microprocessor consist of software interrupts INT, INT0, INT3 and BOUND and IRET. Out of all these five
Q. Describe the following phasor equations represented in the time domain: (a) ¯ E = K1e-¯ γz (b) ¯ E = K2e ¯ γz where z is the space coordinate, K1 and K2 are constants,
Explain about the typical embedded system hardware unit. Typical Embedded System Hardware Unit: Program Flow and data path Control Unit (CU): comprises a fetch unit for fetc
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