I would have liked this post to actually discuss the things that a bootloader is meant to do, like switching to 32-bit protected mode and loading the next block of code from the disk.
This is a decent equivalent guide for UEFI: http://www.rodsbooks.com/efi-programming/hello.html