repo.or.cz
/
syslinux.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Test program for the VESA code
[syslinux.git]
/
sample
/
c32exit.S
blob
5c5ba0307df3d3192c0233c70870a9807152d5b7
1
# $Id#
2
#
3
# Implementation of exit() for com32 based on c32entry.S
4
#
5
.text
6
.globl exit
7
exit:
8
movl 4(%esp),%eax # Exit code in %eax = return value
9
movl (__entry_esp),%esp # Return stack pointer to entry value
10
ret # Return to termination address