This repository has been archived on 2023-08-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files

11 lines
253 B
ArmAsm

# $Id#
#
# Implementation of exit() for com32 based on c32entry.S
#
.text
.globl exit
exit:
movl 4(%esp),%eax # Exit code in %eax = return value
movl (__entry_esp),%esp # Return stack pointer to entry value
ret # Return to termination address