flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
FlierMate
https://sambalcompiler.blogspot.com/
Sambal programming language: Code: LET b= 20 b /= 2 MSGBOX b b +=30 b -=1 MSGBOX b LET c=40 c*= 22 MSGBOX c Using the Sambal compiler(written in C#) will generate a Windows EXE. This simple Win32 compiler is not using FASM as back-end compiler directly, but I reverse-engineer the PE file generated by FASM to study how to output the binary executable. As such, the linker version is not the same with that of FASM, but dosHeader and importTable are kept intact as what have been produced by FASMW. Admin and mods are welcome to move this topic of discussion to elsewhere if my toy programming language is irrelevant. Thanks!
|
|||||||||||
![]() |
|
Roman
And how compile example1.txt ?
Show example. And what about floats nums ? For example: a = 1.2*2+2.4 |
|||
![]() |
|
FlierMate
I am having a hard time to parse code containing deeply nested conditional statement IF....THEN....ELSE. What method should I use? Binary tree? It will not be easy too to generate equivalent Assembly code with multiple jumps (especially in calculating the RVA).
|
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2020, Tomasz Grysztar. Also on GitHub, YouTube, Twitter.
Website powered by rwasa.