EPLOS
From OSDev Wiki
EPLOS it is a low-level language that was created to facilitate writing boot loaders and operating system kernels.
EPLOS supports all NASM output formats (since it gives you the right to compile the output code yourself) and also has built-in multiboot support. Since EPLOS is compiled to NASM, you can easily connect NASM files.
Bootloader example
%use multiboot #Adding multiboot headers section bss align 16 stack_bottom: resb 16384 stack_top: section text global _start:function (_start.end - _start) _start: set esp stack_top extrnc kernel_main; cli .hang: hlt; jmp .hang .end:
You can compile the file in NASM using:
eplos file.epl