blob: 7e3c73467a421579fb0cac0dfb78e3e15c56c573 (
plain)
1
2
3
4
5
6
7
8
9
10
|
; Note: you should be able to link elfreloc.o with elfglobal.o to make a
; program that calls function with eax=constant, thus exiting err=0
GLOBAL constant
GLOBAL function
constant EQU 48
function:
sub eax, constant
ret
|