This website requires JavaScript.
Explore
Help
Sign In
andy
/
c_soft
Watch
1
Star
0
Fork
0
You've already forked c_soft
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
333cc57c991acb1b445fdc7b16eeb4fca3fbf8d7
c_soft
/
riscv
/
main.c
13 lines
112 B
C
Raw
Normal View
History
Unescape
Escape
添加基础指令解析和运行
2025-04-17 00:04:59 +08:00
函数调用正常
2025-04-17 15:35:32 +08:00
int
add
(
int
a
,
int
b
)
{
return
a
+
b
;
}
添加基础指令解析和运行
2025-04-17 00:04:59 +08:00
int
main
(
)
{
int
a
=
1
;
int
b
=
2
;
函数调用正常
2025-04-17 15:35:32 +08:00
int
c
=
add
(
a
,
b
)
;
添加基础指令解析和运行
2025-04-17 00:04:59 +08:00
return
c
;
}
Reference in New Issue
Copy Permalink