Initial commit and setup.
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
*.aux
|
||||
*.log
|
||||
*.out
|
||||
*.gz
|
||||
*.pdf
|
||||
*.toc
|
||||
@@ -0,0 +1,2 @@
|
||||
\chapter{Overview}
|
||||
This is an attempt to distill what I know about how computers work into some kind of emulator / simulator. I'm curious to see if what I know at the moment is enough to allow me to emulate a general purpose computer.
|
||||
@@ -0,0 +1,26 @@
|
||||
\documentclass[a4paper,12pt]{book}
|
||||
\usepackage{tikz}
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
linktoc=all
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
\title{Unnamed Machine}
|
||||
\author{An attempt to understand the makings of a computer arch}
|
||||
\maketitle
|
||||
|
||||
\tableofcontents
|
||||
\include{chapter 1}
|
||||
|
||||
\end{document}
|
||||
|
||||
\newcommand{\OpcodeTable}[5] {
|
||||
\begin{tabular}{ c c c c c }
|
||||
\hline
|
||||
Opcode & Bit Pattern & Mnemonic & Operand 1 & Operand 2 \\
|
||||
\hline\hline
|
||||
#1 & #2 & #3 & #4 & #5 \\
|
||||
\hline
|
||||
\end{tabular}
|
||||
}
|
||||
Reference in New Issue
Block a user