1 ; program to test retrieval of and linkage to modules in libraries by 2 ; ldrdf 3 4 [SECTION .text] 5 [GLOBAL _main] 6 [EXTERN _strcmp] 7 8 _main: 9 push dword string1 10 push dword string2 11 call _strcmp 12 add esp,8 ; doh! clear up stack ;-) 13 ret 14 15 [SECTION .data] 16 17 string1: db 'abc',0 ; try changing these strings and see 18 string2: db 'abd',0 ; what happens! 19