I'm facing the same issue with latest EDK2 repo pull, using VS2019, NASM 2.15. 
Somehow, got EmulatorPkg build working, but MdeModulePkg build fails with same above error.