diff options
Diffstat (limited to 'Examples/HelloWorld.asm')
| -rw-r--r-- | Examples/HelloWorld.asm | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/Examples/HelloWorld.asm b/Examples/HelloWorld.asm index 63a6258..664780a 100644 --- a/Examples/HelloWorld.asm +++ b/Examples/HelloWorld.asm @@ -1,17 +1,2 @@ -#bits 64 -#org 1000 - -; Start sequence of program. - -%def gdtBase 0x1000 -%def gdtLimit 0x100 - -export .code64 __start - mov rdx, rcx ; exit program - mov rdx, rdx ; exit code 0 - int 50 - int 50 - int 50 - int 50 - int 50 - ret +int 13 +ret |
