Reimplement various rendering assembler functions.