Assembler



- 3


, . Intel
,
).
 
IDIV DIV
, .
, ,
DIV, ,
127 32767 .
, , ,
.
-128 -32768 .
 
(AX) (MOD-R/M) (AL) (AH)
------------------------------------------------------------------
7 2 3 1
7 -2 -3 1
-7 2 -3 -1
-7 -2 3 -1
------------------------------------------------------------------
 
. 4.15
 
. 4.15 ,
. , ,
, .. AX,
mod=r/m. AL,
AH. , ,
.
.