Advertisement
2002VB Miscellaneous #24897

Master Assembly Script Alpha 2

I thought about trashing the old masasm and masinterp source, and starting over, and have decided to not do that until version 2. This is the second alpha of my scripting engine, and is still very far from completion. This alpha includes backslash escape character sequence, the ability to produce your own objects other then just jared.mve, code labels, and a jmp instruction for loop logic. Right now I am working on the virtual stack, and flag registers, for the cmp instruction so until thats complete we can only do forever loops. However alpha 3 will contain all the completed loop logic. This project still has a long way to go until it is completed I say atleast another month and a few thousand more lines. Any suggestions on language features you think I should add or things I should change are greatly appeciated.(I know Im working on the tokenized string rotuine :))..

AI

Résumé par IA: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Code source
original-source
<HTML>
<BODY>
<FONT COLOR="#BD0000" FACE="FIXEDSYS">
<BR><BR><u> Master Assembly Script ALpha 2 </u><br><br>
<img src="http://www.lostsidedead-software.com/mas/msnap.jpg"><br><br><img src="http://www.lostsidedead-software.com/mas/asnap.jpg"><br><br><img src="http://www.lostsidedead-software.com/mas/isnap.jpg"><br><br>
<br><br> I had alot of thinking to do about this project that Im working, on
at first I decided I was going to scrap it and start from scratch, but then I realized
I would be wasting a good 4,000 lines of code. So instead,I have decided just
to optomize, and fix the code up as much as I can. Major additions to this alpha
release is backslash escape character sequence. So you can use \n \r and \b in your strings
I am also going to add all the other characters. Also the interpreator allows you to
pick out what mve file to execute. Also the constructs of the language have changed
each object is layed out as follows <br><br>
<font color="green">
mas object TheObject {<br>
variables <br>
{<br>
}<br>
begin {<br>
start:<br>
println "hello world"<br>
}<br>
end {<br>
stop:<br>
println " goodbye world "<br>
}<br>}<br>
</font>
<br><br>
Within this alpha includes, code lables, and the jmp instruction for loop logic. Right now
I am in the proccess of writing the virtual flags register, stack, and calling conventions.
Once thats done , then I can implement the cmp instruction for the logic of the loops. Theres
still alot to be done, alot to optomize and any suggestions anyone has on improving the application
I would enjoy.<br><br>
<u><b> List of Exisiting Instructions </u></b><br><br>
<font color="blue">
add var,var<br>
sub var,var<br>
mul var,var<br>
div var,var<br>
or var,var<br>
xor var,var<br>
and var,var<br>
mov var,var<br>
<br>
inc var<br>
dec var<br>
not var<br>
<br>
jmp label<br><br>
smov str,str<br>
scat str,str<br><br>
input var<br>
iline var<br>
print var<br>
println var<br>
</font>
<br><br>
<b><u> Download Alpha 2 </b></u><br><br>
<a href="http://www.lostsidedead-software.com/mas/masasma2.zip"> Download MASASM alpha 2 </a><br>
<a href="http://www.lostsidedead-software.com/mas/masinterpa2.zip"> Download MasInterp alpha 2</a><br><a href="http://www.lostsidedead-software.com/mas/mas_alpha2.zip"> Download Alpha 2 Compiled Demo</a><br><br> to use the demo, you gotta use the command line, for the masasm assembler to assemble a .mas file into .mve , simply say<br><br>
masasm example.mas<br><br>
then run the interp and it will prompt you for a mve file to execute enter the correct path, and it will execute the mve file<br><br>
</FONT>
</BODY>
</HTML>
Commentaires originaux (3)
Récupéré via Wayback Machine