aboutsummaryrefslogtreecommitdiff
path: root/src/isa/opcodes.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2015-12-27 12:33:59 -0700
committerDavid Li <li.davidm96@gmail.com>2015-12-27 12:33:59 -0700
commitf673d59b92de8d9581cb77e03305e38a499dcc93 (patch)
treec8e7a7dc0c1497e952f3e3c1ed9c30c3a710d6dd /src/isa/opcodes.rs
parent2c2ff979554c11a973fe893d620292137664157a (diff)
Add GPLv3 license
Diffstat (limited to 'src/isa/opcodes.rs')
-rw-r--r--src/isa/opcodes.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/isa/opcodes.rs b/src/isa/opcodes.rs
index 56b9568..5b63ae8 100644
--- a/src/isa/opcodes.rs
+++ b/src/isa/opcodes.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 BRANCH: u32 = 0x63;
pub const JALR: u32 = 0x67;
pub const JAL: u32 = 0x6F;