You can’t. And that assembly code likely won’t work for any normal Windows app either. Windows uses a protected mode memory model that prevents Ring 3 processes (anything that does not run inside kernel mode) from directly accessing IO and physical memory addresses.
You need to get a DLL from the hardware manufacturer and documentation what functions you can call in there. Then you can use the Call Library Node to call into that DLL.