Sbb-arithmetic instruction-microprocessor, Assembly Language

SBB: Subtract  with Borrow  :- The subtract with borrow instruction subtracts the source operand and the borrow flag (CF) which might reflect the result of the past calculations, from the destination operand. Subtraction along with the borrow, here means subtracting value 1 from the subtraction obtained by SUB, if carry (borrow) flag is the set.

The result is stored in the destination operand. All the flags are affected (Condition code) by this instruction. The instance of this instruction is following:

Example :

1. SBB        O100H                Immediate [destination AX]

2. SBB        AX.BX                  Register

3. SBB        AX, [5000H]         Direct

4. SBB        [5000H], 0100      Immediate

 

Posted Date: 10/12/2012 1:29:44 AM | Location : United States







Related Discussions:- Sbb-arithmetic instruction-microprocessor, Assignment Help, Ask Question on Sbb-arithmetic instruction-microprocessor, Get Answer, Expert's Help, Sbb-arithmetic instruction-microprocessor Discussions

Write discussion on Sbb-arithmetic instruction-microprocessor
Your posts are moderated
Related Questions
Write a M68000 assembly language subroutine MULSUM that takes an array named A containing n bytes of positive numbers, and fills two arrays, array B containing n


Flag Register : 8086 has a 16-bit flag register which is divided into 2 parts, viz. (a)machine control flagsand (b)condition code or status flags. The condition code flag regi

I need some guidance on which project to make in assembly language

implement the following c++ code in assembly language using the block-structured .IF and .while directives

how to code

DAA: Decimal Adjust Accumulator:- This instruction is utilized to convert the result of the addition operation of 2 packed BCD numbers to a valid BCD number. The conclusion has to

MLIL: Unsigned Multiplication Byte or Word: This instruction multiplies an unsigned byte or word by the contents of the AL. The unsigned byte or word can be in any one of the gene

1) Write an 80x86 assembly language program in EXE file format to do the following tasks: a) Open and read the contents of a file into memory (use at least 1 kB). b) Sort the li

The modes are determined by the contents of the control register, whose format is given in Figure These modes are: Mode 0: If a group is in mode 0, it is divided into 2 sets.