Skip to content

labs/lab-07: Check x86_64 version#163

Open
raresgoidescu wants to merge 2 commits intocs-pub-ro:mainfrom
raresgoidescu:raresg/lab07
Open

labs/lab-07: Check x86_64 version#163
raresgoidescu wants to merge 2 commits intocs-pub-ro:mainfrom
raresgoidescu:raresg/lab07

Conversation

@raresgoidescu
Copy link
Copy Markdown

Prerequisite Checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Updated relevant documentation (if needed).

Description of changes

Fix #139

Update the `stack.md` reading material to be consistent with
64-bit architecture:
- Fix typos
- Fix numbering in Stack Operations section
- Update all code examples to be complete, runnable programs using
  `printf64.asm`, proper function preamble/epilogue, and main entry point
- Replace legacy `io.asm` and `CMAIN` references with `printf64.asm` and
  `main`
- Fix format string spacing in `PRINTF64` macro calls
- Use standard LIFO terminology instead of 'first in, last out'
- Clarify the historical context for 32-bit ebp register reference

Signed-off-by: Rares-Stefan Goidescu <known.as.rares@gmail.com>
Update guide README files to be accurate and consistent with actual code:
- Fix typos
- Fix spelling and use 64-bit terminology
- Fix format specifier: %d -> %ld for 64-bit values
- Add explicit qword specifier to match actual file

Signed-off-by: Rares-Stefan Goidescu <known.as.rares@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

labs/lab-07: Check x86_64 version

1 participant