Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cMIPS
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Roberto Hexsel
cMIPS
Commits
7cc43c6e
Commit
7cc43c6e
authored
Dec 14, 2015
by
Roberto Hexsel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added test for lw ra; jr ra (with files)
parent
71218814
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
58 additions
and
0 deletions
+58
-0
cMIPS/tests/jallwjr.expected
cMIPS/tests/jallwjr.expected
+14
-0
cMIPS/tests/jallwjr.s
cMIPS/tests/jallwjr.s
+44
-0
No files found.
cMIPS/tests/jallwjr.expected
0 → 100644
View file @
7cc43c6e
00000028
00000002
00000028
00000004
00000028
00000008
00000028
00000010
00000028
00000020
00000028
00000040
00000028
00000080
cMIPS/tests/jallwjr.s
0 → 100644
View file @
7cc43c6e
.
include
"cMIPS.s"
.
text
.
align
2
.
set
noat
.
set
noreorder
.
globl
_start
.
ent
_start
_start
:
nop
la
$
15
,
x_IO_BASE_ADDR
li
$
3
,
1
li
$
4
,
5
la
$
29
,
(
x_DATA_BASE_ADDR
+
1024
)
#
space
for
stack
li
$
9
,
1
li
$
19
,
100
itera
:
jal
fun
sw
$
31
,
0
(
$
15
)
#
$
31
<-
0
,
fun
+
4
slt
$
18
,
$
9
,
$
19
bne
$
18
,
$
0
,
itera
nop
j
end
nop
fun
:
addiu
$sp
,
$sp
,
-
8
sw
$ra
,
0
(
$sp
)
add
$
9
,
$
9
,
$
9
move
$ra
,
$zero
addiu
$sp
,
$sp
,
+
8
lw
$ra
,
-
8
(
$sp
)
jr
$ra
sw
$
9
,
0
(
$
15
)
end
:
nop
nop
nop
nop
nop
wait
nop
nop
.
end
_start
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment