-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chapters/intro-computer-architecture: Add content #13
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made an initial pass. Apply these changes to the rest of this file and to others that you'll add in this PR.
@@ -14,7 +14,7 @@ Content is located in the `chapters/` folder. | |||
It currently consists of 5 chapters: | |||
|
|||
- [Memory Layout](chapters/memory-layout/) | |||
- [Introduction to Computer Architecture](content/intro-computer-architecture/) | |||
- [Introduction to Computer Architecture](chapters/intro-computer-architecture/) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
* comment removal | ||
* expansion of preprocessor directives (the ones that begin with `#`), like `#define`, `#include`, `#pragma`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* comment removal | |
* expansion of preprocessor directives (the ones that begin with `#`), like `#define`, `#include`, `#pragma`. | |
- comment removal | |
- expansion of preprocessor directives (the ones that begin with `#`), like `#define`, `#include`, `#pragma`. |
Use dashes, not asterisks for unnumbered lists.
With `gcc`, this step can be run using the `-E` flag. | ||
The output file will have the `.i` extension. | ||
```bash | ||
$ gcc -E main.c -o main.i |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
$ gcc -E main.c -o main.i | |
student@hsi:~$ gcc -E main.c -o main.i |
Add generic prompts whenever there's a command that's not supposed to be run from a specific folder (such as a task or a guide).
Prerequisite Checklist
Description of changes
Add content for the 3rd lab, Compiling and Linking