Talk:X86 Assembly/Bootloaders

Code start
Should the code start at 0x0000 or 0x0100?


 * I'm not quite sure what you're referring to, but MS-DOS .COM files are loaded to address CS:0100h whereas boot loaders are loaded to address 0000:7C00h. AFAIK, all the segment registers are set to 0 by the BIOS, and IP then starts as 7C00h. Telling your assembler that the code will be positioned at 7C00h can ease the calculation of memory offsets. Artelius (talk) 00:51, 19 April 2008 (UTC)

First example
I'm not sure if I understand this code correctly, but in the skip: label, there is a jmp function to print, does this mean it will keep printing "Hello World", indefinitively, and will not stop? 201.216.12.182 (discuss) 04:18, 1 May 2014 (UTC)
 * Well I've just tested it via nasm and VirtualBox myself and it does just that -- it loops "Hello World!" forever. OrangeJacketGuy (discuss • contribs) 07:57, 13 May 2014 (UTC)