Refactored the section about the ISA.

This commit is contained in:
Garritt McCune
2025-02-25 16:35:46 -06:00
parent 9393a84f96
commit 1d063f7bba
3 changed files with 19 additions and 38 deletions
+1
View File
@@ -1,6 +1,7 @@
\chapter{Introduction}
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 too emulate a general purpose computer. It turns out that it take quite a different skill set compared to writing web or desktop applications. But I realize that, while I understand the concepts that underpin what I do day to day, I don't have an intuitive understanding of the hardware. This has become painfully evident pretty much immediately after I started this project. An ISA should be simple, add, subtract, copy, etc., but then you have to consider the state that the processor will be in after each instruction. This \quotes{little} project will be a specification for a sort of System-on-Chip (SoC) where the CPU, GPU and memory are all inter-connected.
\section{Conventions \& Data Types}
\label{sec:conventions}
This machine is \quotes{little endian} meaning bytes are numbered starting from the least significant byte or the right most byte. Figure \ref{fig:bytelayout} shows how a structure is layed out in memory byte by byte.
\begin{figure}[h]
\label{fig:bytelayout} % https://www.overleaf.com/learn/latex/Referencing_Figures