flat assembler
Message board for the users of flat assembler.
Index
> Projects and Ideas > zasm |
Author |
|
Teehee 05 Oct 2011, 00:08
Hi.
I'm doing an assembler (nothing so serious - zasm is his name ) in fasm assembler, of course, and I've almost done with the lexical analyzer (scanner), I would like you could test it and report me bugs. Then i can optimize the scanner before go to next step. Here a code example: Code: @COM EXECUTE 0x21 mov dx msg mov ah 0x09 int EXECUTE mov ah 0x4C int EXECUTE msg db 'Hello world!$' (More syntax here) Notes:
How to use Type a test.asm code file and drop it to zasm.exe. Or use command line if you like. Please, test it! Thanks
_________________ Sorry if bad english. Last edited by Teehee on 06 Oct 2011, 20:39; edited 1 time in total |
|||||||||||
05 Oct 2011, 00:08 |
|
addes3 06 Oct 2011, 00:04
I saw this on google code a while ago. The reference labels look a lot better then FASM's @F and @B.
|
|||
06 Oct 2011, 00:04 |
|
typedef 06 Oct 2011, 01:01
addes3 wrote: I saw this on google code a while ago. The reference labels look a lot better then FASM's @F and @B. But which one is better ? |
|||
06 Oct 2011, 01:01 |
|
Teehee 06 Oct 2011, 08:43
No feedback yet?? perhaps there is no errors?! impossible , come on guys, help me!!
_________________ Sorry if bad english. |
|||
06 Oct 2011, 08:43 |
|
emc 06 Oct 2011, 16:33
I saw this too, and I have posted a comment about "<" labels. I said it's cool to write "(30<)" instead "<<< ... <<<" 30 times. Do you saw? (long ago)
|
|||
06 Oct 2011, 16:33 |
|
addes3 06 Oct 2011, 22:57
What exactly does this do? Tell us if there are errors?
All I get is "Press any key to continue . . ." |
|||
06 Oct 2011, 22:57 |
|
Teehee 06 Oct 2011, 23:53
addes3 wrote: What exactly does this do? Tell us if there are errors? it will analyze your code input for valid syntax. If you saw "press any key to continue..." that means your syntax is ok. You will see 'invalid line [#]' when you make some mistake. ex. Code: mov eax eax ; this line is valid, so ; output: Press any key to continue... mov 3 eax ; this line is invalid, so ; output: invalid line [#] _________________ Sorry if bad english. |
|||
06 Oct 2011, 23:53 |
|
addes3 07 Oct 2011, 19:33
Ohhh okay.
|
|||
07 Oct 2011, 19:33 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.