7. SUB: -  substract the content of a register or a memory location form the content of accumulator and the result is stored in the accumulator.


Eg: - SUB B( it substracts the content of B register from the content of the accumulator.


         SUB M( it substracts the content of memory location pointed by HL pair from the content of


        
accumulator.




8. SBB: -  substract with borrow.




Eg: - SBB B
         SBB M




9.SUI: - Substract immediate from accumulator. this instruction subtract the immediate data from the content of accumulator and the result is store in accumulator.


Eg: - SUI 45H




10.SBI: - Substract immediate from the content of the accumulator and the result is stored in accumulator.

{ 2 comments... read them below or Comment }

  1. SBI:substract immediate from the content of the accumulator & result store in accumulator ,,,,,,but it is essential examples?

    ReplyDelete
    Replies
    1. In SBI after subtract if there is any burrow then carry flag is set..

      Delete

Labels

- Copyright © 8085 Microprocessor -Metrominimalist- Powered by Blogger - Designed by Johanes Djogan -