What will be the MASM alternative for this NASM statement?
times 510 - ($-$$) db 0
I was making a MBR bootloader. Basically this statement fills up the remaining 510 bytes on memory with 0 as a bootloader should be 512 bytes in size.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Another alternative is using
orgto actually seek in the output file, mentioned by the NASM manual as something that works in MASM but not NASM: