Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SWEN90006-A1-2018
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tim Miller
SWEN90006-A1-2018
Merge requests
!1
WIP: Master
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
WIP: Master
zlang/SWEN90006-A1-2018:master
into
master
Overview
0
Commits
17
Pipelines
0
Changes
7
Open
Zhuolun Lang
requested to merge
zlang/SWEN90006-A1-2018:master
into
master
6 years ago
Overview
0
Commits
17
Pipelines
0
Changes
7
Expand
Update xml
0
0
Merge request reports
Compare
master
version 16
1d3da469
6 years ago
version 15
d950f93c
6 years ago
version 14
87369316
6 years ago
version 13
92179751
6 years ago
version 12
40906693
6 years ago
version 11
cc86db4d
6 years ago
version 10
ee566f74
6 years ago
version 9
2e9729f7
6 years ago
version 8
a671ccc6
6 years ago
version 7
a45450c8
6 years ago
version 6
b0aa9caf
6 years ago
version 5
9f44344e
6 years ago
version 4
ad570752
6 years ago
version 3
5d08240c
6 years ago
version 2
13d21f40
6 years ago
version 1
dd1eb311
6 years ago
master (HEAD)
and
latest version
latest version
44d475ce
17 commits,
6 years ago
version 16
1d3da469
16 commits,
6 years ago
version 15
d950f93c
15 commits,
6 years ago
version 14
87369316
14 commits,
6 years ago
version 13
92179751
13 commits,
6 years ago
version 12
40906693
12 commits,
6 years ago
version 11
cc86db4d
11 commits,
6 years ago
version 10
ee566f74
10 commits,
6 years ago
version 9
2e9729f7
9 commits,
6 years ago
version 8
a671ccc6
8 commits,
6 years ago
version 7
a45450c8
7 commits,
6 years ago
version 6
b0aa9caf
6 commits,
6 years ago
version 5
9f44344e
5 commits,
6 years ago
version 4
ad570752
4 commits,
6 years ago
version 3
5d08240c
3 commits,
6 years ago
version 2
13d21f40
2 commits,
6 years ago
version 1
dd1eb311
1 commit,
6 years ago
7 files
+
367
−
160
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
7
Search (e.g. *.vue) (Ctrl+P)
mutants/mutant-1/swen90006/machine/Machine.java
+
1
−
1
Options
@@ -39,7 +39,7 @@ public class Machine
/** jz ra offs =~ if (ra == 0) pc = pc + offs else pc = pc + 1 */
public
static
final
String
INSTRUCTION_JZ
=
"jz"
;
public
static
final
int
NUM_REGS
=
3
2
;
public
static
final
int
NUM_REGS
=
3
3
;
public
static
final
int
MAX_REG
=
(
NUM_REGS
-
1
);
public
static
final
int
MEMORY_SIZE
=
65536
;
/* 4 x as much memory as a 64 */
public
static
final
int
MAX_ADDR
=
MEMORY_SIZE
-
1
;
Loading