whoops
This commit is contained in:
parent
ac747bbbf4
commit
f7b4cdcbed
3 changed files with 2 additions and 2 deletions
BIN
hello/hello
BIN
hello/hello
Binary file not shown.
|
|
@ -22,7 +22,7 @@ Disassembly of section .text:
|
|||
1017a: 4639 li a2,14
|
||||
1017c: 00001597 auipc a1,0x1
|
||||
10180: a3c58593 addi a1,a1,-1476 # 10bb8 <message.0>
|
||||
10184: 4501 li a0,0
|
||||
10184: 4505 li a0,1
|
||||
10186: e406 sd ra,8(sp)
|
||||
10188: 3d0000ef jal 10558 <write>
|
||||
1018c: 60a2 ld ra,8(sp)
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
int main(int argc, const char **argv) {
|
||||
static const char message[] = "Hello, world!\n";
|
||||
write(STDIN_FILENO, message, strlen(message));
|
||||
write(STDOUT_FILENO, message, strlen(message));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue