\documentclass[]{article}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english,bulgarian]{babel}
\usepackage{color}
\usepackage{pst-pdf,pst-blur}
\usepackage{pstricks}

\newpsstyle{gridstyle}{subgriddiv=0,gridcolor=lightgray,griddots=10,gridlabels=5pt}

\begin{document}
\pagestyle{empty}
\psset{unit=1cm,arrowscale=1.5}
\begin{pspicture}[showgrid=false](17.5,18.5)
%рамки
\psframe[fillstyle=solid,fillcolor=green!20,shadow=false,blur=false,shadowsize=6pt,shadowcolor=lightgray](3,0.4)(17,18)%0
\psframe[fillstyle=solid,fillcolor=blue!50](3.4,1.4)(8.4,3)%1
\psframe[fillstyle=solid,fillcolor=blue!30](3.4,10)(13,16.4)%2
\psframe[fillstyle=solid,fillcolor=yellow!30](14,10)(16.6,16.4)%3
\psframe[fillstyle=solid,fillcolor=red!50](4,6.2)(16,7)%4
\psframe[fillstyle=solid,fillcolor=yellow!30](4,8.2)(16,9)%5
\psframe[fillstyle=solid,fillcolor=green!50](7.2,5)(16,5.8)%6
\psframe[fillstyle=solid,fillcolor=red!20](7.2,3.8)(16,4.6)%7
%повтарящи се линии
\multirput(3.4,10.8)(0,0.8){7}{\psline(0,0)(9.6,0)}%линии в големия блок №2
\multirput(14,10.8)(0,0.8){7}{\psline(0,0)(2.6,0)}%линии в малкия блок №3
\multirput(4.8,8.2)(0.8,0){2}{\psline(0,0)(0,0.8)}%дълги деления в №5
\multirput(6.4,8.2)(0.8,0){2}{\psline(0,0)(0,0.3)}%къси деления в №5
\multirput(8,8.2)(0.8,0){10}{\psline(0,0)(0,0.8)}%дълги деления в №5
\multirput(4.8,6.2)(0.8,0){2}{\psline(0,0)(0,0.3)}%къси деления в №4
\multirput(6.4,6.2)(0.8,0){2}{\psline(0,0)(0,0.8)}%дълги деления в №4
\multirput(8,6.2)(1.6,0){2}{\psline(0,0)(0,0.25)\psline(0.8,0)(0.8,0.8)}%две къси и две дълги деления в №4
\multirput(11.2,6.2)(0.8,0){6}{\psline(0,0)(0,0.8)}%дълги деления в №4
%вана
\pspolygon[fillstyle=solid,fillcolor=red!20!yellow](10,1)(15,1)(16,3.4)(15.4,3.4)(15,3)(10,3)(9.6,3.4)(9,3.4)
%стрелки
%\psline[linewidth=2.1mm,arrowinset=0.3,arrowlength=0.5]{<->}(0,1.4)(3,1.4)
\rput(0,1.4){\pspolygon[fillstyle=solid,fillcolor=yellow!30](0,0)(0.4,-0.4)(0.4,-0.2)(2.6,-0.2)(2.6,-0.4)(3,0)(2.6,0.4)(2.6,0.2)(0.4,0.2)(0.4,0.4)\rput(1.5,-0.05){управление}}
\rput(0,2.9){\pspolygon[fillstyle=solid,fillcolor=yellow!30](0,0)(0.4,-0.4)(0.4,-0.2)(2.6,-0.2)(2.6,-0.4)(3,0)(2.6,0.4)(2.6,0.2)(0.4,0.2)(0.4,0.4)\rput(1.5,-0.05){адрес}}
\rput(0,4.4){\pspolygon[fillstyle=solid,fillcolor=yellow!30](0,0)(0.4,-0.4)(0.4,-0.2)(2.6,-0.2)(2.6,-0.4)(3,0)(2.6,0.4)(2.6,0.2)(0.4,0.2)(0.4,0.4)\rput(1.5,-0.05){данни}}
%надписи
%%
\rput(10,17.5){\parbox{10cm}{
\begin{center}\textbf{\Large
Аритметичен копроцесор 8087}
\end{center}
}}
%
\rput(8.1,16.8){\parbox{6cm}{
\begin{center}\large
Регистров стек
\end{center}
}}
%
\rput(15.3,16.8){\parbox{1.5cm}{
\begin{center}\large
флагове
\end{center}
}}
%
\rput(15.3,16){\parbox{1.5cm}{
\begin{center}\large
TAG 0
\end{center}
}}
%
\rput(15.3,15.2){\parbox{1.5cm}{
\begin{center}\large
TAG 1
\end{center}
}}
%
\rput(15.3,14.4){\parbox{1.5cm}{
\begin{center}\large
TAG 2
\end{center}
}}
%
\rput(15.3,13.6){\parbox{1.5cm}{
\begin{center}\large
TAG 3
\end{center}
}}
%
\rput(15.3,12.8){\parbox{1.5cm}{
\begin{center}\large
TAG 4
\end{center}
}}
%
\rput(15.3,12){\parbox{1.5cm}{
\begin{center}\large
TAG 5
\end{center}
}}
%
\rput(15.3,11.2){\parbox{1.5cm}{
\begin{center}\large
TAG 6
\end{center}
}}
%
\rput(15.3,10.4){\parbox{1.5cm}{
\begin{center}\large
TAG 7
\end{center}
}}
\uput[45](3.4,16.4){19}
\uput[135](13,16.4){0}
%
\rput(9.7,9.4){\parbox{10cm}{
\begin{center}\large
Регистър за състояния
\end{center}
}}
%
\uput[45](4,9){15}
\uput[135](16,9){0}
\uput[45](4,7){15}
\uput[135](16,7){0}
\rput(4,8.2){\rput(0.4,.4){B}\rput(1.2,.4){C3}\rput(2.8,.4){ST}\rput(4.4,.4){C2}\rput(5.2,.4){C1}\rput(6,.4){C0}\rput(6.8,.4){IR}\rput(7.6,.4){X}\rput(8.4,.4){P}\rput(9.2,.4){O}\rput(10,.4){Z}\rput(10.8,.4){D}\rput(11.6,.4){I}}
\rput(4,6.2){\rput(1.2,.4){резервни}\rput(2.8,.4){IC}\rput(4,.4){RC}\rput(5.6,.4){PC}\rput(6.8,.4){IEM}\rput(7.6,.4){X}\rput(8.4,.4){PP}\rput(9.2,.4){OM}\rput(10,.4){ZM}\rput(10.8,.4){DM}\rput(11.6,.4){IM}}
%
\rput(9.7,7.4){\parbox{10cm}{
\begin{center}\large
Регистър за управление
\end{center}
}}
%
\rput(11.5,5.4){\parbox{7cm}{
\begin{center}\large
Регистър за адреса на операнда
\end{center}
}}
%
\rput(11.5,4.2){\parbox{7cm}{
\begin{center}\large
Регистър за адреса на инструкцията
\end{center}
}}
%
\rput(5.8,2.2){\parbox{5cm}{
\begin{center}\large
Блок за управление
\end{center}
}}
%
\rput(12.5,2){\parbox{5cm}{
\begin{center}\large
Устройство за операции \\ с числа с плаваща запетая
\end{center}
}}
%
\rput[tl]{90}(1.5,5.5){\Large към микропроцесор 8086}
\end{pspicture}

\end{document}
