diff options
| author | Camil Staps | 2016-06-22 17:50:40 +0200 |
|---|---|---|
| committer | Camil Staps | 2016-06-22 17:50:40 +0200 |
| commit | bc939202c19c43b86eb8c804432e7af09547a934 (patch) | |
| tree | f460b186a6d9d0614cf1a39bbb7f3d4c602dd61c /doc/chip.sty | |
Initial commit
Diffstat (limited to 'doc/chip.sty')
| -rw-r--r-- | doc/chip.sty | 29 |
1 files changed, 29 insertions, 0 deletions
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)} |
