Computer Science, asked by patu12, 1 year ago

which instruction you have used to extend the sign of 8-bit negative number for 8-bit × 16bit multiplication in 8086

Answers

Answered by aqibkincsem
6

The following instruction has been followed :For the purpose of  representation of  negative values we exactly do following many ways.

However,  the 80x86 microprocessor uses the two complement notations. In this  two's complement kind of  system, the H.O. bit of a number  represents the  sign of a  bit. If the H.O. bit is zero, the number is positive; if the H.O. bit is unique, the number will be  negative.

Examples:For 16-bit numbers:$8000 is negative because the H.O. bit is one.$100 is positive because the H.O. bit is zero.$7FFF is positive.$FFFF is negative.$FFF is positive.If the H.O. bit is zero, then the number is positive and is kept as a standard binary value. If the H.O. bit is one, then the number is negative and is stored in the two's complement form.

Similar questions