flat assembler
Message board for the users of flat assembler.
Index
> OS Construction > Easy question |
Author |
|
beppe85 13 Feb 2005, 12:05
Padding is done as in this topic:
http://board.flatassembler.net/topic.php?p=21637#21637 |
|||
13 Feb 2005, 12:05 |
|
Giedrius 13 Feb 2005, 12:19
Thank you!
|
|||
13 Feb 2005, 12:19 |
|
Dex4u 13 Feb 2005, 17:48
I use this:
Code: times 510- ($-start) db 0dw 0xaa55 |
|||
13 Feb 2005, 17:48 |
|
DennisCGc 13 Feb 2005, 21:24
Dex4u wrote: I use this: Yeah, but the problem is that it's NASM only, and I think he wants the fasm version of the code But yeah, I noticed the 512 in the code |
|||
13 Feb 2005, 21:24 |
|
bubach 14 Feb 2005, 08:06
I use:
Code: use16 org 0x7C00 boot: ..... Code: rb boot+512-2-$ dw 0xAA55 |
|||
14 Feb 2005, 08:06 |
|
Tomasz Grysztar 14 Feb 2005, 11:04
Quote: Yeah, but the problem is that it's NASM only, and I think he wants the fasm version of the code The Dex4u's code is correct for fasm. The original one is not, because it uses $$ symbol. However I've decided to implement the $$ in future releases of fasm. You can get the 1.59 pre-release from the Download section and it has it already implemented (and documented in the new section "Addressing spaces" in documentation). |
|||
14 Feb 2005, 11:04 |
|
Giedrius 14 Feb 2005, 12:54
I'm glad to hear that! Keep up the good work.
|
|||
14 Feb 2005, 12:54 |
|
DennisCGc 14 Feb 2005, 15:37
Privalov wrote:
Okay, thx for letting me know that |
|||
14 Feb 2005, 15:37 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.