diff options
| author | amlal <amlal.elmahrouss@icloud.com> | 2024-03-23 12:06:12 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com> | 2024-03-23 15:05:38 +0100 |
| commit | 2f2ee51e94351c0428d921d680446ae0eef92add (patch) | |
| tree | 6bb530315dc7fb40f63598494ed525a085f9aa10 /Examples | |
| parent | f24980a495c0f7fe99213931b73aef6cbe6bbd99 (diff) | |
HCR-24: See below.
- Update doxyfile.
- FEAT: Add AMD64 example for i64asm.
- FEAT: Check for duplication inside i64asm.
Signed-off-by: amlal <amlal.elmahrouss@icloud.com>
Signed-off-by: Amlal El Mahrouss <113760121+Amlal-ElMahrouss@users.noreply.github.com>
Diffstat (limited to 'Examples')
| -rw-r--r-- | Examples/HelloWorld.asm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Examples/HelloWorld.asm b/Examples/HelloWorld.asm new file mode 100644 index 0000000..ccfccc3 --- /dev/null +++ b/Examples/HelloWorld.asm @@ -0,0 +1,18 @@ +#bits 64 +#org 1000 + +; Start sequence of program. + +export .data GDT + .number 55 + .number 100 + +export .text __start + mov rcx, 47 ; exit program + mov rdx, 0x0 ; exit code 0 + int 50 + int 50 + int 50 + int 50 + int 50 + ret |
