You need to integrate both ASM and C++ to create this. Use ASM for low-level programming like the kernel and talking to the hardware, etc. and use C++ for the file system, running application software, etc.