%-*- Nofill: Yes; Mode: Text -*-
\setlength{\oddsidemargin}{-0.140in}  %0.1in
\setlength{\evensidemargin}{-0.440in} %0.1in
\setlength{\textwidth}{7.15in}	      %6.0in
\setlength{\textheight}{9.600in}      %8.5in
\setlength{\topmargin}{-0.850in}      %0.0in
\setlength{\columnsep}{1.2pc}
%\setlength{\parindent}{}
\setlength{\parskip}{0.25pc}


\makeatletter
%as Latex considers descenders in its calculation of interline spacing,
%to get 12 point spacing for normalsize text, must set it to 10 points

%12pt is changed into 11pt by Masa
\def\@normalsize{\@setsize\normalsize{11pt}\xpt\@xpt
\abovedisplayskip 10pt plus2pt minus5pt\belowdisplayskip \abovedisplayskip
\abovedisplayshortskip \z@ plus3pt\belowdisplayshortskip 6pt plus3pt
minus3pt\let\@listi\@listI} 


%need an 11 pt font size for subsection and abstract headings
\def\subsize{\@setsize\subsize{12pt}\xipt\@xipt}

%make section titles bold and 12 point, 2 blank lines before, 1 after
\def\section{\@startsection {section}{1}{\z@}{12pt plus 1pt minus 1pt}
{12pt plus 1pt minus 1pt}{\large\bf}}

%make subsection titles bold and 11 point, 1 blank lines before, 1 after
\def\subsection{\@startsection {subsection}{2}{\z@}{11pt plus 1pt minus 1pt}
{11pt plus 1pt minus 1pt}{\bf}}

\makeatother

%vskip is commented out and vspace is added by Masa
%%%ENVIRONMENT fig: labeled, captioned figures.
%%%Usage: \begin{fig}{LABEL}{CAPTION}
\newenvironment{twocolumnfig}[2]
{\begin{figure*}[tbp]%
\def\figlabel{#1}%
\def\figcaption{#2}%
%\vskip \fboxsep
%\vskip 3pt
}%
{\vspace {-1.2pc}
\caption{\label{\figlabel}\figcaption}%
%\vskip \fboxsep
\vspace {-0.5pc}
\end{figure*}}

%To prevent figures be put in separete pages
%%%ENVIRONMENT fig: labeled, captioned figures.
%%%Usage: \begin{fig}{LABEL}{CAPTION}
\newenvironment{twocolumnfigtwo}[2]
{\begin{figure*}[tb]%
\def\figlabel{#1}%
\def\figcaption{#2}%
%\vskip \fboxsep
%\vskip 3pt
}%
{\vspace {-1.5pc}
\caption{\label{\figlabel}\figcaption}%
%\vskip \fboxsep
\vspace {-0.5pc}
\end{figure*}}

%%%ENVIRONMENT table: labeled, captioned figures.
%%%Usage: \begin{fig}{LABEL}{CAPTION}
\newenvironment{twocolumntable}[2]
{\begin{table*}[tbp]%
\def\figlabel{#1}%
\def\figcaption{#2}%
%\vskip \fboxsep
%\vskip 3pt
}%
{\vspace {-1.0pc}
\caption{\label{\figlabel}\figcaption}%
%\vskip \fboxsep
\vspace {-0.5pc}
\end{table*}}

\newenvironment{f}
	{\begin{figure}[htbp]}
	{\end{figure}}
\newenvironment{tab}
	{\begin{table}[htbp]}
	{\end{table}}
\newcommand{\hdd}[2]{
	\begin{center}
	{\large \bf 6.823 Computer System Architecture}\\
	{\makebox[1in][l]{\bf Handout No. #1} \hfill {\large \bf #2} 
		\hfill \makebox[1in][r]{\bf Spring 90}} \\[2pt]
	{\makebox[6.0in]{\hrulefill}}\\
	\end{center}}
\newcommand{\hd}[3]{
	\begin{center}
	{\large \bf 6.823 Computer System Architecture}\\
	{\large \bf #2} \\[5pt]
	{\makebox[1in][l]{\bf Handout No. #1} \hfill {\large \bf #3} 
		\hfill \makebox[1in][r]{\bf Spring 90}} \\[2pt]
	{\makebox[6.0in]{\hrulefill}}\\
	\end{center}}
\newcommand{\had}[5]{
\begin{center}
	{\large \bf 6.823 Computer System Architecture}\\
	{\large \bf #2} \\[5pt]
	{\makebox[1in][l]{\bf Handout No. #1} \hfill {\large \bf #3} 
		\hfill \makebox[1in][r]{\bf Spring 90}} \\[2pt]
	{\makebox[1.8in][l]{\small {\it Assigned #4}}
	 \hfill
	 \makebox[1.8in][r]{\small {\it Due #5}}}\\
	{\makebox[6.0in]{\hrulefill}}
\end{center}
}
%\newcommand{\problem}[3]{
%	\vspace{.5in}
%	{\large \bf Problem #1} \hfill #2 points \hfill {\large #3} \\ 
%	\samepage
%	{\makebox[6.0in]{\hrulefill}}\\
%}

%\newcommand{\sproblem}[2]{
%	\vspace{.5in}
%	{\Large {\bf #1}{\em (#2 points)}} \\ 
%}

%\newcommand{\problem}[2]{
%	\vspace{.5in}
%	{\Large {\bf #1}{\em (#2 points)}} \\ 
%}

%\newcommand{\subproblem}[2]{
%	\vspace{.5in}
%	{\large {\bf #1}{\em (#2 points)}} \\ 
%}



\newcommand{\ie}{{\em i.e.}}