Create kpapi.asm

APIs for the kernel and programs