add compile time check for assembly code