From 3019b3684d0d94f318f719bfdd5163e84d9e91b0 Mon Sep 17 00:00:00 2001
From: Camil Staps
Date: Thu, 23 Jun 2016 14:47:40 +0200
Subject: Update instruction set

---
 doc/chip.sty | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

(limited to 'doc/chip.sty')

diff --git a/doc/chip.sty b/doc/chip.sty
index 56d061a..36ebc70 100644
--- a/doc/chip.sty
+++ b/doc/chip.sty
@@ -4,7 +4,7 @@
 \def\instr#1#2{\instrop(#1)(#2)}
 
 \def\incpcop{\mathit{incpc}}
-\def\incpc#1{\incpcop(#1)}
+\def\incpc#1#2{\incpcop_#1(#2)}
 
 \def\update#1#2{#1[#2]}
 
@@ -23,7 +23,5 @@
 \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)}
+\DeclareMathOperator{\rol}{rol}
+\DeclareMathOperator{\shl}{shl}
-- 
cgit v1.2.3

