How to link two nasm source files
I've got a file that defines very basic IO functions and I want to create another file that uses this file. Is there a way to link these two files up? prints.asm: os_return: ;some code to return to os print_AnInt: ;some code to output an int, including negatives - gets param from stack print_AChar: ;some code to output a char - gets param from stack usingPrintTest.asm: main: push qword 'a' call print_AChar ;gets this from prints.asm somehow (that's my question) call os_return ;and this too.. Note these aren't the actual files... They're just used to explain my problem :) Thanks! Sure - you