flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
bttr
I'd like to see a predefined "top" label for each segment. Then I could code "mov bx, (top + 10fh) / 16" without placing a stupied "top:" at the end of the file.
|
|||
![]() |
|
Tomasz Grysztar
For each segment? There's only one in the .COM program. And why do you think that such label is "stupid"?
|
|||
![]() |
|
Tomasz Grysztar
bttr wrote: "stupid", because the empty label has no other function as to be used for address calculation. Just every label has such purpose ("address calculation"). And when you start to using such uncommon features, you just make your source less readable to someone who doesn't know them. I mean, when you write "mov bx,(top + 10fh) / 16" and there's "top:" at the end of file, everyone will know what does that mean, but when you're using some special feature of your assembler (and that probably should be something like "mov bx,(%top% +10fh) / 16" for example, as the assembler shouldn't take too much of simple word into "reserved" area), anyone who doesn't know that particular assembler that well will get confused with it... |
|||
![]() |
|
lee_huynh
Do you have exe2bin.exe or something else can format an *.exe file to *.bin or *.com?
Please send me if you do,thanks. lee_huynh306@yahoo.co.uk |
|||
![]() |
|
evil__donkey
exe2bin is included with windows. try running this at command-line.
_________________ --A donkey always says thank you with a kick. |
|||
![]() |
|
evil__donkey
here's what you asked for. i haven't tested it so i cannot guarantee that it works. but i found it so here it is.
_________________ --A donkey always says thank you with a kick. |
|||||||||||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.