12,396,606 members (32,528 online)
Rate this:
See more:
Hello Friends,
This is a quick question.
I want to know that where will be the result of the operation
`ADD BX, AX`
Stores in?
Is it AX or BX?
This confusion arises since we have instruction
`ADD AX, BX`
which stores the result in AX. I thought, where will be the result store when we interchange the two operands AX and BX?

Thank you.

Regards
Tushar Srivastava
Posted 15-Sep-12 4:14am
Tushar Sriv 15-Sep-12 10:40am

Thank you both :-)

Rate this:

## Solution 1

BX

The destination is always on the left.

```add <destreg>,<reg>
And the destination always comes first.
Mehdi Gholam 15-Sep-12 10:36am

5'ed, just posted the same.
OriginalGriff 15-Sep-12 10:55am

Great minds and all that!
Rate this:

Rate this:

## Solution 3

`ADD AX,BX`
add value in bx to value in ax (result in ax)
v2

Top Experts
Last 24hrsThis month
 OriginalGriff 130 ppolymorphe 95 onetdev 75 BillWoodruff 70 Jochen Arndt 65
 OriginalGriff 6,128 ppolymorphe 2,445 Karthik Bangalore 2,382 F-ES Sitecore 1,877 Richard MacCutchan 1,752