> this: > > jmp 07C0h:start > > I try this > > jmp 0x7C0, start I think what you need is: jmp $0x07C0, $start Assuming that 0x07C0 is the segment and start is the offset. If that doesn't work, you may need to use ljmp instead of jmp (it's been a long time since I've thought about 16-bit assembly.) > and to fill the file: > > times 510-($-$$) db 0 > > I didn't find any $$ translation in as $$ just refers to the start of the current section, so I think the solution there is just to declare your own symbol at the top of the section, and use that in place of $$. b -- To unsubscribe from this list: send the line "unsubscribe linux-assembly" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
- References:
- Translating nasm boot strap to as
- From: Daniel Hilst Selli
- Translating nasm boot strap to as
- Prev by Date: Translating nasm boot strap to as
- Next by Date: Re: Translating nasm boot strap to as
- Previous by thread: Translating nasm boot strap to as
- Next by thread: Re: Translating nasm boot strap to as
- Index(es):