summaryrefslogtreecommitdiff
path: root/sample/c32entry.S
diff options
context:
space:
mode:
authorhpa <hpa>2002-11-18 22:22:37 +0000
committerhpa <hpa>2002-11-18 22:22:37 +0000
commitb918509b86a1d65427fe9270886c41b5d0491344 (patch)
treee76cb483ca01a5f2a719768983a0ca0195a3df62 /sample/c32entry.S
parentf3b2b7af08efd9872c973f47410b39de63490230 (diff)
downloadsyslinux-2.01-pre2.tar.gz
Fix the COM32 sample programsyslinux-2.01-pre2
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