Custom kernel in assembly, see comment by dashersw