External assembly conversion

A few of the ad-hoc assembly files that the kernel depends on have now
been convered over to be inline assembly statements.