Could anyone explain to me how to compile some assembly routines into a DLL file that can be called in VB?

I ask because there is this pci card I must control that only has QBX and assembly routines that interface with it. The task has already been done, but I don't understand how it was done.

Could anyone explain how to reproduce such a thing?

I'm using VB 5.0 on windows 95 systems.

Thanks.