aboutsummaryrefslogtreecommitdiff
path: root/src/isa/funct3.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/isa/funct3.rs')
-rw-r--r--src/isa/funct3.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/isa/funct3.rs b/src/isa/funct3.rs
index e74da96..6124eb7 100644
--- a/src/isa/funct3.rs
+++ b/src/isa/funct3.rs
@@ -1,3 +1,19 @@
+// Copyright 2015 David Li
+// This file is part of rustv.
+
+// rustv is free software: you can redistribute it and/or modify
+// it under the terms of the GNU General Public License as published by
+// the Free Software Foundation, either version 3 of the License, or
+// (at your option) any later version.
+
+// rustv is distributed in the hope that it will be useful,
+// but WITHOUT ANY WARRANTY; without even the implied warranty of
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+// GNU General Public License for more details.
+
+// You should have received a copy of the GNU General Public License
+// along with rustv. If not, see <http://www.gnu.org/licenses/>.
+
pub const ADDI: u32 = 0x0;
pub const SLLI: u32 = 0x1;
pub const SLTI: u32 = 0x2;