%% This LaTeX-file was created by <jl> Thu Feb  6 15:37:02 1997
%% LyX 0.10 (C) 1995 1996 by Matthias Ettrich and the LyX Team

%% Don't edit this file unless you are sure what you are doing.
\documentclass[12pt,letterpaper,oneside,onecolumn]{article}
\usepackage[]{fontenc}
\usepackage[dvips]{epsfig}

%%
%% BEGIN The lyx specific LaTeX commands.
%%

\makeatletter
\def\LyX{L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\spacefactor1000}%
\newcommand{\lyxtitle}[1] {\thispagestyle{empty}
\global\@topnum\z@
\section*{\LARGE \centering \sffamily \bfseries \protect#1 }
}
\newcommand{\lyxline}[1]{
{#1 \vspace{1ex} \hrule width \columnwidth \vspace{1ex}}
}
\newenvironment{lyxbibliography}
{
\begin{thebibliography}{99}}
{\end{thebibliography}}
\def\lxq{"}
\newenvironment{lyxcode}
{\list{}{
\rightmargin\leftmargin
\raggedright
\itemsep 0pt
\parsep 0pt
\ttfamily
}%
\item[]
}
{\endlist}
\newcommand{\lyxlabel}[1]{#1 \hfill}
\newenvironment{lyxlist}[1]
{\begin{list}{}
{\settowidth{\labelwidth}{#1}
\setlength{\leftmargin}{\labelwidth}
\addtolength{\leftmargin}{\labelsep}
\renewcommand{\makelabel}{\lyxlabel}}}
{\end{list}}
\newcommand{\lyxletterstyle}{
\setlength\parskip{0.7em}
\setlength\parindent{0pt}
}
\newcommand{\lyxaddress}[1]{
\par {\raggedright #1 
\vspace{1.4em}
\noindent\par}
}
\newcommand{\lyxrightaddress}[1]{
\par {\raggedleft \begin{tabular}{l}\ignorespaces
#1
\end{tabular}
\vspace{1.4em}
\par}
}
\newcommand{\lyxformula}[1]{
\begin{eqnarray*}
#1
\end{eqnarray*}
}
\newcommand{\lyxnumberedformula}[1]{
\begin{eqnarray}
#1
\end{eqnarray}
}
\makeatother

%%
%% END The lyx specific LaTeX commands.
%%

\pagestyle{plain}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\begin{document}

An assembler translates assembly code into object code.

Should support lables:

\begin{itemize}

\item 100 goto label

\item 130 label

\end{itemize}

should support comments:

\begin{itemize}

\item ;comments

\end{itemize}

Should support naming of registers

\begin{itemize}

\item SunReg EQU 5 (definable or not redefinable)

\item CLRF SunReg

\end{itemize}

should support program counter setting

\begin{itemize}

\item ORG 100 =next line of code = line 100

\end{itemize}

should allow number to be decimal, (default) hex(end in H), octal
(end in O), binary(end in B). Expressions are extra credit.

www.microchip.com for assembly code.

Need to build table of symbols and values then actually generate code
(2 pass). Could also do \( 1\frac{1}{2} \)pass assembler by filling in values as you
find them. (extra credit)

objects

\begin{itemize}

\item lines, symbols, object code, instructions, op codes...

\end{itemize}

\end{document}
