Changed assembly code to use the type variable in the info object