May be it's a kind of stupid idea, but ... Is it possible to write macro for every BASIC command?
Ex.:
You wrote after asm header something like this:
print "Hello world!"
a = 1 + 2 +3
print a & " = a"
cls
I tried to do something, but I'm find out it impossible (may be just for me).
It's really stupid, isn't it?
Ex.:
You wrote after asm header something like this:
print "Hello world!"
a = 1 + 2 +3
print a & " = a"
cls
I tried to do something, but I'm find out it impossible (may be just for me).
It's really stupid, isn't it?
Yes, it's realy BASIC...
;)
If BASIC could be made, then it should be possible, but then it would be asmBASIC... :)

;)
If BASIC could be made, then it should be possible, but then it would be asmBASIC... :)
invoke HelloWorld
yea first tutorial finished
Testing new :stupid:
yea first tutorial finished

Testing new :stupid:
:stupid:
Where is that stupid ICON?
Whatta hell are we posting here?
Can you be more specific?
I don't understand. What is's all about? May be my question was so stupid or I'm stupid :) but may be stop extend this topic? ;)
Yes, you can write an ASM equivalent for every function in any language. In the end all languages boil down to ASM regardless of how many layers they go through to get there. After all your computer only understands ASM, all other languages are just translators. You would need to make a syntax parser to analyze the line of code then execute a procedure or a series of procedures for each line. You need a variable table and some other stuff but you add those as your language gets more complex. For example:
MyVar = Mod(25/5)
would be something like:
xor edx,edx
mov eax,25
mov ebx,5
div ebx
mov MyVar,edx
EDIT Actually hitchhikr is working on something like that he might have something to look at :
http://www.asmcommunity.net/board/index.php?topic=8957
MyVar = Mod(25/5)
would be something like:
xor edx,edx
mov eax,25
mov ebx,5
div ebx
mov MyVar,edx
EDIT Actually hitchhikr is working on something like that he might have something to look at :
http://www.asmcommunity.net/board/index.php?topic=8957
Yes, he did a goog job!
Thanks for link.
Thanks for link.