diff options
Diffstat (limited to 'Examples')
| -rw-r--r-- | Examples/ExamplePowerPC.S | 1 | ||||
| -rw-r--r-- | Examples/HelloWorld.asm | 19 |
2 files changed, 3 insertions, 17 deletions
diff --git a/Examples/ExamplePowerPC.S b/Examples/ExamplePowerPC.S new file mode 100644 index 0000000..1f8bd21 --- /dev/null +++ b/Examples/ExamplePowerPC.S @@ -0,0 +1 @@ +blr
\ No newline at end of file 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 |
