Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
d0p1s4m4 committed Dec 23, 2023
1 parent c3ad64a commit af55941
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 22 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ jobs:
fetch-depth: 0

- name: Install Dependencies
run: |
run: sudo apt install pdflatex texlive-science texlive-latex-extra
run: sudo apt install pdflatex texlive-science texlive-latex-extra

- name: Build
run: make
Expand Down
6 changes: 2 additions & 4 deletions base/instr.tex
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,11 @@ \section{Alphabetical List of Instruction}
\input{base/instructions/jmp}
\input{base/instructions/lb}
\input{base/instructions/lbu}
\input{base/instructions/ld}
\input{base/instructions/lda}
\input{base/instructions/ldah}
\input{base/instructions/lh}
\input{base/instructions/lhu}
\input{base/instructions/ld}
\input{base/instructions/lw}
\input{base/instructions/lwu}
\input{base/instructions/mult}
Expand All @@ -61,6 +61,7 @@ \section{Alphabetical List of Instruction}
\input{base/instructions/or}
\input{base/instructions/ori}
\input{base/instructions/sb}
\input{base/instructions/sd}
\input{base/instructions/sh}
\input{base/instructions/sll}
\input{base/instructions/sllr}
Expand All @@ -72,10 +73,7 @@ \section{Alphabetical List of Instruction}
\input{base/instructions/subi}
\input{base/instructions/subiu}
\input{base/instructions/subw}
\input{base/instructions/sd}
\input{base/instructions/sw}
\input{base/instructions/swu}
\input{base/instructions/swu}
\input{base/instructions/trap}
\input{base/instructions/xor}
\input{base/instructions/xori}
Expand Down
11 changes: 0 additions & 11 deletions base/instructions/swu.tex

This file was deleted.

11 changes: 6 additions & 5 deletions fpu/basic.tex
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@ \section{Floating-Point Representation}

IEEE 754 single-precision

\begin{bytefield}{32}
\bitheader[endianness=big]{31,30,23,0} \\
\bitbox{1}{S}
\bitbox{8}{exp}
\bitbox{23}{fraction}
\begin{bytefield}[bitheight=\widthof{~Sign~},
boxformatting={\centering\small}]{32}
\bitheader[endianness=big]{63,52,0} \\
\bitbox{1}[bgcolor=lightcyan]{\rotatebox{90}{Sign}} &
\bitbox{8}[bgcolor=lightgreen]{Exponent} &
\bitbox{23}[bgcolor=lightred]{Mantissa}
\end{bytefield}

\section{Registers}
Expand Down
4 changes: 4 additions & 0 deletions fpu/main.tex
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@
\definecolor{codepurple}{rgb}{0.58,0,0.82}
\definecolor{backcolour}{rgb}{0.95,0.95,0.92}

\definecolor{lightcyan}{rgb}{0.84,1,1}
\definecolor{lightgreen}{rgb}{0.64,1,0.71}
\definecolor{lightred}{rgb}{1,0.7,0.71}

\lstdefinestyle{mystyle}{
commentstyle=\color{codegreen},
keywordstyle=\color{magenta},
Expand Down

0 comments on commit af55941

Please sign in to comment.