diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-12-10 09:48:53 -0600 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-12-10 09:48:53 -0600 |
| commit | 8fcd0cf7d6a2c891422c7101840778043207a60d (patch) | |
| tree | 5527b605fdaee1ad4404bef6418f1a5e34e31d52 /src/header/crti.s | |
| parent | 87d1e83a0ea5e20e535e3378e57f1fe0e9818a64 (diff) | |
| download | gftos-8fcd0cf7d6a2c891422c7101840778043207a60d.tar.gz | |
Changed to the based ASM syntax and implemented a rudementary GDT
Diffstat (limited to 'src/header/crti.s')
| -rw-r--r-- | src/header/crti.s | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/header/crti.s b/src/header/crti.s index 91e86fa..26d677a 100644 --- a/src/header/crti.s +++ b/src/header/crti.s @@ -1,12 +1,11 @@ -.section .init -.global _init -.type _init @function +section .init +global _init:function _init: - push %ebp - movl %esp, %ebp + push ebp + mov ebp, esp, -.section .fini -.global _fini +section .fini +global _fini _fini: - push %ebp - movl %esp, %ebp + push ebp + mov ebp, esp |
