Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Shen, Siran
arm11_
Commits
744d7d37
Commit
744d7d37
authored
Jun 19, 2020
by
sea19
Browse files
PROJECT IS FINISHED
parent
e97a51bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/assemble.c
View file @
744d7d37
...
...
@@ -10,8 +10,8 @@ int main(int argc, char **argv) {
perror
(
"Must only provide two arguments!"
);
exit
(
EXIT_FAILURE
);
}
FILE
*
fileSrc
=
fopen
(
argv
[
1
],
"r"
);
FILE
*
fileDest
=
fopen
(
argv
[
2
],
"w"
);
FILE
*
fileSrc
=
fopen
(
argv
[
1
],
"r"
);
//reads file
FILE
*
fileDest
=
fopen
(
argv
[
2
],
"w"
);
//writes file
second_pass
(
fileSrc
,
fileDest
);
...
...
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