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.
@2:12 Mistake was in written code thats why it was giving error. The keyword for MOV Instruction was written mistakenly MOB .
yes siir
this is why i have trust issues
Thanks a lot, sir. ❤❤❤ May you live long, healthy, and happy.
You are welcome. I am pleased to know that it is useful :)
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.
I am pleased to know that it was useful . : )
REAL. This taught me better than my prof's hour of discussion lmao
Concept Clear!
It's great to hear that :)
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
Haha right!!
Thank you so much sir for this amazing tutorial ❤❤ your video's are very helpful.
You are welcome..I am happy to know that these are useful for people.
in my lessons the code is written as (SBC) ,is it the same?
SBC is not 86 assembly instructions. So it's not same.
cd14-2508=A81c nhi hoga kia? 1-0=1???
its because when subtracting 8 from 4 in CD14-2508, we borrowed 1 hence 0-0 is 0.
Yes correctly answered.
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
It is good . manual explanation of sbb let us to understand it better.
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.
MOV ki jaga sir MOB likha hua ha
Thanks for your identification, I did not realize this mistake while i was recording.
No problem sir
Why after sbb command, auxilary flags equal to 1 ?
Auxilary Flag sets to 1 If there a borrow from 5th bit to 4th bit(or borrow taken from higher nibble to lower nibble).
@@LearnOnline1 Thx but when we subtract 1 from C, there is no need to borrow from the 5th digit. ı dont understand :(((