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
DIV: Unsigned Division:- This instruction performs unsigned division operation. It divides an unsigned word or double word by a 16-bit or 8-bit operand. The dividend might be in t

The problem to be solved and implemented with an ARM assembly language program You are asked to do some image processing on an image composed of characters shaped in For exa

CMP: Compare: - This instruction compares the source operand, which can be a register or memory location an immediate data with a destination operand that might be a register or a

to separate positive and negative numbers

Part A: Bitwise Logical and Shift Operations Create a SPARC assembly language program that extracts a bit-field from the contents of register %l0. The position of the rightmos

Print Media Advertising (PMA) has been providing a contract to market Buzz Cola via newspaper ads in a main southern newspaper. Full-page ads in the weekday editions (Monday throug

ORG : Origin:- The ORG directive directs the assembler to begin the memory allotment for the specific segment, code or block from the declared  address in the ORG  statement. W

You have to write a subroutine (assembly language code using NASM) for the following equation. Dx= ax2+(ax-1)+2*(ax+2)/2

check the al-register for palindromic number

Please let me know if you can do an assignment in the next 12 hours