Repository navigation
Inline ASM: switch to intel syntax - #132
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR switches inline assembly code from AT&T syntax to Intel syntax for better readability and consistency. The key motivation is to use the more intuitive Intel syntax where operands flow from source to destination.
Key changes:
- Updated compiler flags to enable Intel syntax with
-masm=intel - Converted inline assembly statements from AT&T to Intel syntax across multiple files
- Modified register operations and I/O instructions to follow Intel conventions
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| config.mk | Added -masm=intel compiler flag to enable Intel syntax |
| kernel/src/utils.c | Converted mov instruction from AT&T to Intel syntax |
| kernel/include/kpanic.h | Updated XOR operations to Intel syntax |
| kernel/include/io.h | Converted I/O instructions (in/out) to Intel syntax |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
e624e6f to
d45f64a
Compare
There was a problem hiding this comment.
Pull Request Overview
Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
d45f64a to
e25a238
Compare
|



No description provided.