merged Brian and Adams changes
[nestedvm.git] / doc / nestedvm.ivme04-fig5.tex
1 \documentclass{article}
2 \input tmp.inputs
3 \pagestyle{empty}
4 \usepackage{amssymb,amsbsy}
5 \begin{document}
6 \newlength{\MyLength}
7 \settowidth{\MyLength}{xmachine codex}
8 \newcommand{\MyBox}[1]{\makebox[\MyLength]{#1}}
9 \psmatrix[colsep=2,rowsep=0,nrot=:U]
10   & \\[0pt]
11   & \\[0pt]
12   [name=s0]\MyBox{unsafe source} & [name=s1]\MyBox{safe source}   \\[0pt]
13   & \\[0pt]
14   & \\[0pt]
15   & \\[0pt]
16   & \\[0pt]
17   & \\[0pt]
18   [name=b0]\MyBox{machine code}  & [name=b1]\MyBox{safe bytecode} \\[0pt]
19   \psset{nodesep=5pt,arrows=->}
20   \ncline{s0}{b0}\bput{:U}{\tt gcc}
21   \ncline{s1}{b1}\aput{:U}{\tt javac}
22   \ncline{b0}{s1}\naput{\tt NestedVM}
23 \endpsmatrix
24 \end{document}