push word 0b800h
pop es
xor di, di
mov [es:di], word 441h
jmp $
times 510 - ($-$$) db 0
db 55h
db 0AAh
views:
186answers:
1
+1
A:
Because you are writing a flat binary without labels. NASM should default to 16-bit. Related to this is the fact that you have no addressing or labels - so no requirement to provide an [ORG ...] directive.
dboarman
2010-04-15 15:37:45