Assembler


- 2


2 10. 1
, -
9.
Binary digIT ( ).
2. . 2.2
101101B.
101101B = 1*2**5 + 0*2**4 + 1*2**3 + 1*2**2 + 0*2**1 + 1*2**0
= 32 + 0 + 8 + 4 + 0 + 1
= 45
____________________________________________________________
. 2.2
 
"B"
. ,
. , 2368 - ,
101101B - .
.
"B", IBM
.
 
. 2.3
4 .
. n
2**n-1. n

 

-----------------------
1 1
2 10
3 11
4 100
5 101
6 110
7 111
8 1000
9 1001
10 1010
-----------------------
. 2.3 10
 
0 2**n-1.
4- 2.3 15
(2**4-1).
 

, .
8088, IBM PC,
16 . , -
16 , 2**16-1 65 535.
0 65 535.

.




- -  - -  - -