Comparing compiled C to my compiled assembly. Who did better? #140932
Unanswered
WorldsDumbestCoder
asked this question in
Programming Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Body
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
$ size$ cd Desktopsize: 'a.out': No such file
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
/Desktop$ size editor32/Desktop$ size editor32.otext data bss dec hex filename
0 128 0 128 80 editor32
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
text data bss dec hex filename
0 128 0 128 80 editor32.o
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
/Desktop$ size test.c/Desktop$ size test.osize: test.c: file format not recognized
worldsdumbestcoder@worldsdumbestcoder-ms7c84:
text data bss dec hex filename
1360 600 8 1968 7b0 test.o
worldsdumbestcoder@worldsdumbestcoder-ms7c84:~/Desktop$ (C is test.o and assembly is editor32.o)
The C is only output and the assembly has output, input and commands that do things (both do exit for testing purposes)
Guidelines
Beta Was this translation helpful? Give feedback.
All reactions