## INDEX

### Solution and explanation Assembly language programming in c programming language

(1)

Explanation:

ax and bx is general purpose register.

Statement mov ax, 61 means value 61 is storing at register ax.

Statement add bx,ax means addition of content of register bx i.e 10 and content of register ax i.e. 61 and result of addition is storing at register bx.

(2)

Explanation:

Same concept has used as in question 1.

Mnemonic sub means subtraction.

(3)

Explanation:

Same concept has been used as in question 1.

(4)

Explanation:

Mnemonic inc means increment content of register by one.

Mnemonic div means division with ax.

Operand of div must be a register not a value.

Note. Register ax is known as accumulator.

(5)

Explanation:

Mnemonic div means division of its operand with content of accumulator i.e. ax.

Meaning of div bx means 15/3.

(6)

Explanation:

Mnemonic mul means multiplication of its operand with content of accumulator i.e. ax.

Meaning of mul bx means 15*4.

Note: inc bx means increase the content of register bx by one.

(7)

Explanation:

dec dx means decrease the content of register dx by one.

(8)

Explanation:

Mnemonic or means bitwise OR operations between its operands.

(9)

Explanation:

Mnemonic and means bitwise AND operations between its operands.

(10)