:
) . ( 10) :
1) .
2) .
3) n .
4) m , m<n
5) (n-1), n, (n+1) .
:
mov cx,n
cicle:
adc [di], ax
add si,2
add di,2
loop cicle
10
) ( 11).
:
1. , .
2. , , . . .
3. , .
11
:
mov dx, Number_Of_Arrays
loop_ext:
call Print_Name_Of_Array
mov cx,n
loop_in: call Print_An_Array_Element
dec cx
cmp cx,0
jz loop_in
dec dx
cmp dx,0
jnz loop_ext
) ( 12). , . , .
12
:
cicle: mov dl,slovo
and dx,ax
shl ax,1
inc bx
cmp dx,0
jz fwd
inc in_byte
mov left_one,bl
cmp in_byte,1
jz right
jnz fwd
right: mov right_one,bl
fwd:loop cicle
mov ax,1
mov cx,16
mov bx,-1
cicl: mov dx,dslovo
and dx,ax
shl ax,1
inc bx
cmp dx,0
jz fwd2
inc in_byte2
mov left_one2,bl
cmp in_byte2,1
jz right2
jnz fwd2
right2: mov right_one2,bl
fwd2:loop cicl
) ( 13). . .
:
back:mov cx,n
breaking_the_structure:cmp flag,0
jz skip
strange:cmp flag2,0
jz back
skip: call Read_Line
push cx
cmp cx,n
jz strange
cmp flag3,0
jz breaking_the_structure
13
.
. . while. , . , . (n 1), n, (n + 1) . , n = 10000, 9999 , 10000 10001 .
|
|
:
1. ?
2. () ?
3. ?
4. .
5. , .
6. .
7. , ?
8. DU ?
9. ?
10. .