mirror of https://github.com/yasm/yasm.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
225 B
11 lines
225 B
21 years ago
|
; 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
|