X-Git-Url: http://git.megacz.com/?p=nestedvm.git;a=blobdiff_plain;f=doc%2Fnestedvm.ivme04-fig5.tex;fp=doc%2Fnestedvm.ivme04-fig5.tex;h=4b80ebb70f6a371f20dc4ea0f6f66833d884c98b;hp=0000000000000000000000000000000000000000;hb=93fc1f921f063121a7b75dcabce36969832f2807;hpb=3cb9ecabb4877cf4cfdd2cb473952e7ad290cc15 diff --git a/doc/nestedvm.ivme04-fig5.tex b/doc/nestedvm.ivme04-fig5.tex new file mode 100644 index 0000000..4b80ebb --- /dev/null +++ b/doc/nestedvm.ivme04-fig5.tex @@ -0,0 +1,24 @@ +\documentclass{article} +\input tmp.inputs +\pagestyle{empty} +\usepackage{amssymb,amsbsy} +\begin{document} +\newlength{\MyLength} +\settowidth{\MyLength}{xmachine codex} +\newcommand{\MyBox}[1]{\makebox[\MyLength]{#1}} +\psmatrix[colsep=2,rowsep=0,nrot=:U] + & \\[0pt] + & \\[0pt] + [name=s0]\MyBox{unsafe source} & [name=s1]\MyBox{safe source} \\[0pt] + & \\[0pt] + & \\[0pt] + & \\[0pt] + & \\[0pt] + & \\[0pt] + [name=b0]\MyBox{machine code} & [name=b1]\MyBox{safe bytecode} \\[0pt] + \psset{nodesep=5pt,arrows=->} + \ncline{s0}{b0}\bput{:U}{\tt gcc} + \ncline{s1}{b1}\aput{:U}{\tt javac} + \ncline{b0}{s1}\naput{\tt NestedVM} +\endpsmatrix +\end{document}