From bc939202c19c43b86eb8c804432e7af09547a934 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Wed, 22 Jun 2016 17:50:40 +0200
Subject: Initial commit

---
 doc/chip.sty | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 doc/chip.sty

(limited to 'doc/chip.sty')

diff --git a/doc/chip.sty b/doc/chip.sty
new file mode 100644
index 0000000..56d061a
--- /dev/null
+++ b/doc/chip.sty
@@ -0,0 +1,29 @@
+\def\eqdef{\stackrel{\mathrm{def}}{=}}
+
+\def\instrop{\mathit{instr}}
+\def\instr#1#2{\instrop(#1)(#2)}
+
+\def\incpcop{\mathit{incpc}}
+\def\incpc#1{\incpcop(#1)}
+
+\def\update#1#2{#1[#2]}
+
+\def\ALUOp{\mathit{ALUOp}}
+\def\Word#1{\mathit{Word}_#1}
+
+\def\Prog{\mathit{Prog}}
+\def\prog{\mathit{prog}}
+
+\def\State{\mathit{State}}
+\def\st{\mathit{st}}
+
+\def\Mem{\mathit{Mem}}
+\def\mem{\mathit{mem}}
+
+\def\pc{\mathit{pc}}
+\def\acc#1{\mathit{acc}_#1}
+
+\def\nandop{\mathit{nand}}
+\def\nand#1#2{\nandop\left(#1,#2\right)}
+\def\xnorop{\mathit{xnor}}
+\def\xnor#1#2{\xnorop\left(#1,#2\right)}
-- 
cgit v1.2.3

