Skip to content

Commit

Permalink
fix start.s
Browse files Browse the repository at this point in the history
  • Loading branch information
edadma committed Apr 2, 2018
1 parent 5dd4216 commit cfe961c
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 9 deletions.
2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ and place the following assembly start-up code into a text file called `start.s`
_start:
lui sp, 0x10
call main
csrrwi x0, 0, 0

.globl halt
halt:
csrrwi x0, 0, 0
Expand Down
2 changes: 0 additions & 2 deletions start.s
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
_start:
lui sp, 0x10
call main
csrrwi x0, 0, 0

.globl halt
halt:
csrrwi x0, 0, 0
2 changes: 1 addition & 1 deletion tests/hello.hex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Hex dump of section '.text':
0x00010080 37010100 ef00c003 73500000 73500000 7.......sP..sP..
0x00010080 37010100 ef00c003 73500000 00000000 7.......sP......
0x00010090 00000000 00000000 00000000 00000000 ................
0x000100a0 00000000 00000000 00000000 00000000 ................
0x000100b0 00000000 00000000 00000000 00000000 ................
Expand Down
2 changes: 1 addition & 1 deletion tests/signum.hex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Hex dump of section '.text':
0x000100c0 37010100 ef004017 73500000 73500000 7.....@.sP..sP..
0x000100c0 37010100 ef004017 73500000 00000000 7.....@.sP......
0x000100d0 00000000 00000000 00000000 00000000 ................
0x000100e0 00000000 00000000 00000000 00000000 ................
0x000100f0 00000000 00000000 00000000 00000000 ................
Expand Down
4 changes: 2 additions & 2 deletions tests/str2bin.hex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Hex dump of section '.text':
0x00010080 37010100 ef000028 73500000 73500000 7......(sP..sP..
0x00010080 37010100 ef000028 73500000 00000000 7......(sP......
0x00010090 00000000 00000000 00000000 00000000 ................
0x000100a0 00000000 00000000 00000000 00000000 ................
0x000100b0 00000000 00000000 00000000 00000000 ................
Expand Down Expand Up @@ -33,7 +33,7 @@ Hex dump of section '.text':
0x00010260 232cf4fc 832784fd 1b870700 9307f0ff #,...'..........
0x00010270 630cf700 032784fd 832744fb 1b070700 c....'...'D.....
0x00010280 9b870700 634af700 b7070100 13850754 ....cJ.........T
0x00010290 eff01fe6 eff09fdf 032744fe 832744fb .........'D..'D.
0x00010290 eff01fe6 eff05fdf 032744fe 832744fb ......_..'D..'D.
0x000102a0 bb07f702 9b870700 032784fd bb07f700 .........'......
0x000102b0 2322f4fe 833784fe 13871700 2334e4fe #"...7......#4..
0x000102c0 83c70700 a30ff4fc 8347f4fd 93f7f70f .........G......
Expand Down
2 changes: 1 addition & 1 deletion tests/strcmp.hex
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@

Hex dump of section '.text':
0x000100c0 37010100 ef004021 73500000 73500000 7.....@!sP..sP..
0x000100c0 37010100 ef004021 73500000 00000000 7.....@!sP......
0x000100d0 00000000 00000000 00000000 00000000 ................
0x000100e0 00000000 00000000 00000000 00000000 ................
0x000100f0 00000000 00000000 00000000 00000000 ................
Expand Down

0 comments on commit cfe961c

Please sign in to comment.