4 ms·
What would a "better" "Hello, World" for assembly look like?
by sigjuice 11y ago
What would a "better" "Hello, World" for assembly look like?
- bobbo_ 11y agoNot necessarily "better", but lower level and without the use of syscalls: on bare-metal x86 protected mode, writing characters to "video memory" (from 0xB8000, normally). http://wiki.osdev.org/Printing_To_Screen http://wiki.osdev.org/Printing_To_Screen
- 2ton_jeff 11y agoIMO, bootloader/video memory is quite a distance from the traditional model of what "Hello World" is meant to be about, no? If anyone's interested, there are lots of very simple bootloader Hello World goods around: http://board.flatassembler.net/topic.php?t=17130 http://board.flatassembler.net/topic.php?t=17130
- jgalt212 11y agoI don't know, and that's part of the reason why I raised the issue.