summaryrefslogtreecommitdiffhomepage
path: root/dev/INSTALL/X64/InstallAPI.asm
diff options
context:
space:
mode:
Diffstat (limited to 'dev/INSTALL/X64/InstallAPI.asm')
-rw-r--r--dev/INSTALL/X64/InstallAPI.asm33
1 files changed, 33 insertions, 0 deletions
diff --git a/dev/INSTALL/X64/InstallAPI.asm b/dev/INSTALL/X64/InstallAPI.asm
new file mode 100644
index 00000000..2e2ba195
--- /dev/null
+++ b/dev/INSTALL/X64/InstallAPI.asm
@@ -0,0 +1,33 @@
+;; /*
+;; * ---------------------------------------------------
+;; *
+;; * Copyright ZKA Technologies., all rights reserved.
+;; *
+;; * File: Install.asm
+;; * Purpose: ZKA installer program, runs at ring-0.
+;; *
+;; * ---------------------------------------------------
+;; */
+
+[bits 64]
+
+[global kInstallTitle]
+[global InstInstallToDir]
+
+section .data
+
+kInstallTitle: db "Install ZKA", 0
+
+section .text
+
+;; @param r8 arg 1
+;; @param r9 arg 2
+;; @note PEF procedure.
+InstInstallToDir:
+ mov rcx, r8 ; file
+ mov rdx, r9 ; dest dir
+ int 0x32
+ ret
+
+
+