summaryrefslogtreecommitdiff
path: root/sample/c32entry.S
diff options
context:
space:
mode:
Diffstat (limited to 'sample/c32entry.S')
-rw-r--r--sample/c32entry.S14
1 files changed, 14 insertions, 0 deletions
diff --git a/sample/c32entry.S b/sample/c32entry.S
new file mode 100644
index 00000000..f1c476ca
--- /dev/null
+++ b/sample/c32entry.S
@@ -0,0 +1,14 @@
+ .section ".text","ax"
+ .globl _start
+_start:
+ movl $0x21cd4cff,%eax
+ leal 4(%esp),%esi
+ movl $__com32,%edi
+ mov $5,%ecx
+ cld
+ rep ; movsl
+ jmp __start
+
+ .section ".bss","a"
+ .globl __com32
+__com32: .space 20