SBB INSTRUCTION | 8086 INSTRUCTION WITH EMU8086 | SUBTRACTION WITH BORROW IN 8086 ASSEMBLY LANGUAGE

Поделиться
HTML-код
  • Опубликовано: 9 фев 2025
  • #SBBinstruction #8086instructionwithemu8086 #8086instructionset #emu8086 #subtractionWithBorrow
    This video explains the SBB (subtraction with borrow) instruction in assembly language for 8086 microprocessor. This video tutorial provides an example program for SBB instruction which is executed in emu8086 environment.This video also shows the effect of carry flag (acting as borrow in context of SBB instruction. This video tutorial is part of series "8086 Instruction set with emu8086".SBB is a mnemonic that stands for 'SuBtract with Borrow' and 'R' stands for any of the following 7 registers, and also memory location M as pointed by HL register pair. This instruction is used to compute subtraction between contents of R register from the Accumulator's content, along with the carry (borrow) value.
    ..............................................................................
    To find interesting video tutorials regarding microprocessors, microcontrollers and embedded systems assembly language programing.
    ..............................................................................
    Our Top rated playlists are :
    Microprocessors and Assembly language Programming
    " • Microprocessor & Assem... "
    ..............................................................................
    Playlist2: Microcontroller Programming PIC18F
    " • Microcontroller Progra... "
    ..............................................................................
    Playlist3: MPLAB
    " • PIC18F with MPLAB & PR... "
    ..............................................................................
    Playlist4:Lab Online Sessions
    " • Online Sessions "
    ..............................................................................
    Playlist5:MSI (Fall20)
    " • PIC18F Microcontroller... "
    ..............................................................................
    Playlist6: PIC18F Instruction Set
    " • (Microchip PIC18F Inst... "
    .............................................................................."
    ..............................................................................
    Comment on our pages, playlist, videos to feedback us:
    ..............................................................................
    Subscribe to have notifications of our recent upload
    " / @learnonline1 "
    ..............................................................................
    Videos on demand can be featured on your requirements.

Комментарии • 28

  • @LearnOnline1
    @LearnOnline1  4 года назад +18

    @2:12 Mistake was in written code thats why it was giving error. The keyword for MOV Instruction was written mistakenly MOB .

  • @muhasawa
    @muhasawa Год назад +2

    Thanks a lot, sir. ❤❤❤ May you live long, healthy, and happy.

    • @LearnOnline1
      @LearnOnline1  Год назад

      You are welcome. I am pleased to know that it is useful :)

  • @saeedliaqat2713
    @saeedliaqat2713 2 года назад +4

    I've my mid-term exam the day after tomorrow and didn't know anything but, this playlist is so easy to grasp and yet not too lenghty. Great work I must say.

    • @LearnOnline1
      @LearnOnline1  2 года назад

      I am pleased to know that it was useful . : )

    • @keo_chu
      @keo_chu Год назад

      REAL. This taught me better than my prof's hour of discussion lmao

  • @saifrehman5090
    @saifrehman5090 Год назад +1

    Concept Clear!

  • @zainansari556
    @zainansari556 8 месяцев назад +3

    I love your teaching...but aik joke ho gaya ke wahi jagah dobara mov ke badle second time bhi by mistake first time kuch aur hi type hua tha...😂😂😂...love you bro

  • @priyanshkotak9097
    @priyanshkotak9097 2 года назад +1

    Thank you so much sir for this amazing tutorial ❤❤ your video's are very helpful.

    • @LearnOnline1
      @LearnOnline1  2 года назад

      You are welcome..I am happy to know that these are useful for people.

  • @Mnz5478
    @Mnz5478 3 месяца назад +1

    in my lessons the code is written as (SBC) ,is it the same?

    • @LearnOnline1
      @LearnOnline1  2 месяца назад

      SBC is not 86 assembly instructions. So it's not same.

  • @recitingquran7793
    @recitingquran7793 3 месяца назад +2

    cd14-2508=A81c nhi hoga kia? 1-0=1???

    • @mariaakinyi4057
      @mariaakinyi4057 3 месяца назад +2

      its because when subtracting 8 from 4 in CD14-2508, we borrowed 1 hence 0-0 is 0.

    • @LearnOnline1
      @LearnOnline1  2 месяца назад

      Yes correctly answered.

    • @LearnOnline1
      @LearnOnline1  2 месяца назад

      Yeah it's because of 1 was borrowed in least significant bit subtraction so now it's not 1 rather simply 0 so it will be 0-0=0

  • @afia4205
    @afia4205 3 года назад +1

    It is good . manual explanation of sbb let us to understand it better.

    • @LearnOnline1
      @LearnOnline1  3 года назад

      I am pleased to know that it was useful for someone to learn. That's the goal of my content platform to providing a learning opportunity online.

  • @tmblogs4861
    @tmblogs4861 4 года назад +3

    MOV ki jaga sir MOB likha hua ha

    • @LearnOnline1
      @LearnOnline1  4 года назад +1

      Thanks for your identification, I did not realize this mistake while i was recording.

    • @tmblogs4861
      @tmblogs4861 4 года назад +1

      No problem sir

  • @birsenbozkurt6923
    @birsenbozkurt6923 2 года назад +1

    Why after sbb command, auxilary flags equal to 1 ?

    • @LearnOnline1
      @LearnOnline1  2 года назад

      Auxilary Flag sets to 1 If there a borrow from 5th bit to 4th bit(or borrow taken from higher nibble to lower nibble).

    • @birsenbozkurt6923
      @birsenbozkurt6923 2 года назад

      @@LearnOnline1 Thx but when we subtract 1 from C, there is no need to borrow from the 5th digit. ı dont understand :(((