If you write a DLL using Assembler, then you can reference that from a VB program.