flat assembler
Message board for the users of flat assembler.
Index
> Main > I hope this doesn't sound stupid,but can I change the base? |
Author |
|
LocoDelAssembly 21 Oct 2006, 03:54
2, why do you need to save bytes in *.asm/*.inc files???
Do you need that INT instructions works with hex? Try this then Code: macro int x{int $#x} But seriously, I can't see why is so important to save bytes on the source code, the binary output is what's really matters (at least for me). |
|||
21 Oct 2006, 03:54 |
|
2 21 Oct 2006, 04:44
No,you don't understand!!!!!
I'm not using it to write a program! I'm using it as a source that outputs customized files which contain weird characters other than those you can type on the keyboard. I've had some success,but I want to use hexidecimal as the default base so that EVERY constant I declare is ALWAYS assumed to be hex. This isn't about programming. It's about the ultimate plan I have. I'd tell you about it,but unless I get the right tools,I'll never be able to do it. |
|||
21 Oct 2006, 04:44 |
|
revolution 21 Oct 2006, 05:27
2 wrote: is ANY way I could change the default bade to hexidecimal. At ~ line 157 is the label "get_number:" from there you can make fasm have whatever default numbering system you like. Remember to take account of numbers that look like decimal that end in "d". Another thing to remember that all the hex numbers will still have to start with a digit 0-9 else the assembler cannot distinguish between labels and numbers. |
|||
21 Oct 2006, 05:27 |
|
2 21 Oct 2006, 06:18
Hmmm,I'll think about that. Thanks.
|
|||
21 Oct 2006, 06:18 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.