diff options
| author | Drahflow <drahflow@gmx.de> | 2015-06-26 11:47:34 +0200 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2015-06-26 11:47:34 +0200 |
| commit | 779c799619e7947f1f4405ac6489173fdfb0b358 (patch) | |
| tree | 1df704e6a33ba4909e03ba9aa4bd1e8ed4c8ec76 | |
| parent | 2e4f9c4cf0f0430d2f83458b8525c80c615eac3d (diff) | |
Move write syscall number into constants
| -rw-r--r-- | compiler/elymasAsmLib.ey | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/elymasAsmLib.ey b/compiler/elymasAsmLib.ey index 156dc75..f818472 100644 --- a/compiler/elymasAsmLib.ey +++ b/compiler/elymasAsmLib.ey @@ -17,6 +17,7 @@ < 9 ==mmap + 1 ==write > ==SYSCALL 0 ==constantAllocBegin @@ -155,7 +156,7 @@ 24 /rdi /rsi :leaqMemDisp8Reg 16 /rdi /rdx :movqMemDisp8Reg 2 /rdi :movqImmReg - 1 /rax :movqImmReg + SYSCALL .write /rax :movqImmReg :syscall :retn ] /internalDumpErrorString defv |
