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
92800b1d
Commit
92800b1d
authored
Apr 13, 2016
by
Roberto Hexsel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed handlers.s
parent
fc3b9232
Pipeline
#2593
skipped
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
cMIPS/include/handlers.s
cMIPS/include/handlers.s
+6
-3
No files found.
cMIPS/include/handlers.s
View file @
92800b1d
...
...
@@ -213,6 +213,7 @@ cmips_delay:
#
_kmsg_saves
[
0
]=
$a0
,
[
1
]=
$a1
,
[
2
]=
$a2
,
[
3
]=
$ra
#
.
text
.
align
2
.
set
noreorder
.
set
noat
.
global
cmips_kmsg
...
...
@@ -227,7 +228,7 @@ cmips_kmsg:
sw
$a2
,
2
*
4
(
$k0
)
lui
$a1
,
%
hi
(
_kmsg_list
)
ori
$a1
,
$a1
,
%
hi
(
_kmsg_list
)
ori
$a1
,
$a1
,
%
lo
(
_kmsg_list
)
sll
$k1
,
$k1
,
2
#
adjust
index
onto
table
addu
$a1
,
$a1
,
$k1
...
...
@@ -250,10 +251,12 @@ k_for: lbu $a0, 0($a1)
.
equ
kmsg_interr
,
0
.
equ
kmsg_excep
,
1
.
data
.
align
2
.
global
_kmsg_list
_kmsg_list
:
.
word
_kmsg_interr
,
_kmsg_excep
_kmsg_interr
:
.
asciiz
"\n\tinterrupt\n\n"
_kmsg_excep
:
.
asciiz
"\n\texceptioninterrupt\n\n"
_kmsg_list
:
.
word
_kmsg_interr
,
_kmsg_excep
#----------------------------------------------------------------
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