|
|
Terms of Agreement:
By using this article, you agree to the following terms...
1) You may use
this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
2) You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.
3) You may link to this article from another website, but ONLY if it is not wrapped in a frame.
4) You will abide by any additional copyright restrictions which the author may have placed in the article or article's description. |
Master Assembly Script ALpha 2
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
mas object TheObject {
variables
{
}
begin {
start:
println "hello world"
}
end {
stop:
println " goodbye world "
} }
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.
List of Exisiting Instructions
add var,var
sub var,var
mul var,var
div var,var
or var,var
xor var,var
and var,var
mov var,var
inc var
dec var
not var
jmp label
smov str,str
scat str,str
input var
iline var
print var
println var
Download Alpha 2
Download MASASM alpha 2
Download MasInterp alpha 2 Download Alpha 2 Compiled Demo
to use the demo, you gotta use the command line, for the masasm assembler to assemble a .mas file into .mve , simply say
masasm example.mas
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
| |
Other 278 submission(s) by this author
|
|
|
Report Bad Submission |
|
|
Your Vote! |
See Voting Log |
|
Other User Comments |
9/5/2001 9:08:27 PM:Jared Bruni "you tell me thats its evolution, well
you know we all want to change the
world"
|
9/5/2001 10:21:06 PM:Jared Bruni right now I am working on incorperating
all the structured programming aspects
of the language, and then soon as thats
complete, I will work on adding in the
object orietned features, like
inheritance.
|
9/5/2001 10:22:04 PM:Jared Bruni it wont be pure object oriented code
like Java, but more of a werid hybrid
language. After all its just for fun
and to practice, and what better way to
get better at coding, then to code
something complex.
|
9/5/2001 10:50:40 PM:Jared Bruni "home sweet home"
|
9/5/2001 10:51:07 PM:Jared Bruni $ is primative
|
9/5/2001 10:54:20 PM:Jared Bruni "learning disabilitys?" -> "pure mind
capabilities"
|
9/5/2001 10:54:52 PM:Jared Bruni Being creative, rather then just
following what everyone else does
|
9/5/2001 11:31:06 PM:kc Hey Jared.
I think it's awsome your
making your own programming language :)
My question is how this coincides with
c++? Do you use c++ programming to make
the compiler? Sorry you probabley have
answered this a million and one times
but I was just wondering.. Keep up the
good work!
~kc~
|
9/6/2001 7:52:16 AM:Dwarth Vador This is really impressive code ! I
always wonder where you find the time
to do so many things. Do you think you
will make a compiler for masasm ?
Just
continue the good job !
|
9/6/2001 12:54:52 PM:Jared Bruni Its going to work kind of like how you
insert javascript into HTML, well your
going to insert MASASM into your C++,
with a custom interpreator.
|
9/6/2001 4:21:28 PM:Jared Bruni It does assemble to its own bytecode,
ill add a picture so you can see :)
|
9/6/2001 4:21:55 PM:Jared Bruni "war is over, so this is christMas?"
-John Lennon
|
9/6/2001 4:24:40 PM:Jared Bruni "practice and change"
|
9/6/2001 4:25:35 PM:Jared Bruni "nothing to kill or die for, no
relegion to, imagine all the people,
living life in peace "- John Lennon
|
9/6/2001 4:26:11 PM:Jared Bruni "and the world will -> be as one"
|
9/6/2001 4:32:38 PM:Jared Bruni "will my love grow?"
|
9/6/2001 4:33:02 PM:Jared Bruni beyond "my" 1 know's :)
|
9/6/2001 4:33:31 PM:Jared Bruni forget the $ and give peace a
chance
come together
|
9/6/2001 4:35:23 PM:Jared Bruni "work together, not for yourself with
each other"
|
9/6/2001 4:44:00 PM:Jared Bruni stand by "me", look beyond and youll C
|
9/6/2001 4:49:23 PM:Jared Bruni "I love you"- "now and forever"
|
9/6/2001 4:54:30 PM:Jared Bruni "strawberry fields forever" - "nothing
is real "
|
9/6/2001 4:58:36 PM:Jared Bruni MasterPeace (-<) " 1 Love 1 mind 1
life"
|
9/6/2001 8:22:39 PM:Jared Bruni the new version of the interpeator
dosent support the old version's .mve
files, so dont try and run jared.mve
thats in the zip (i accidently left it
there), use the assembler to assemble a
new file, also I need to make it check
and make sure the file you entered is
correct, so this version is sort of
buggy, and touchy but that will all be
fixed
|
9/6/2001 8:28:07 PM:Jared Bruni so if you start getting memory access
errors, its because I havent put up the
checks to prevent errors, in alpha 3
they will be there. So those of you who
remember masasm alpha 1, I suggest
playing with it, others I suggest just
taking a peek at the source, since it
is still early in devlopment.
|
9/6/2001 10:29:43 PM:Jared Bruni "power" (12345) - "peace" - (12345)
|
9/7/2001 12:25:39 AM:Jared Bruni "im looking through you, were did you
go, I thought I knew you, what did I
know ?, you dont look different, but
you have changed, I am looking through
you, your not the same ! "-the beatles
|
9/7/2001 12:26:42 AM:Jared Bruni "your thinking of me, the same old way,
you were above me, but not today "-the
beatles
|
9/7/2001 12:27:55 AM:Jared Bruni " point. there is no sadness, only the
removal of happiness "-jared bruni
|
9/7/2001 12:34:01 AM:Jared Bruni "moving way far , high right back
up
sticking sickness , left out in the
spot,
got away, and they never found a
trace
went to a place, way out in
space
flying high above, filling me
with love
the place i always dreamed
of.
"- Jared Bruni
|
9/7/2001 12:35:32 AM:Jared Bruni " into the bottomless depth of our
eyes
outside of the souring sound of
our cries
shift of the madness, move
it all aside
forgotten and left, but
she is in inside " -Jared Bruni
|
9/7/2001 12:36:22 AM:Jared Bruni Pretty Picture in my Head
sweetest
memories open wide
pain is leaving,
anguish subsides
wrapped in warmth,
wide awake
this is my chance, i shall
take
little tears flowing out
lost
my pain, perfect route,
here i am, i
got out, free again
singled
shout
perfect vision eyes in
tune,
found myself i got lost
way to
soon
symptom reverse, harmless
wow
forever one into the now
|
9/7/2001 12:37:08 AM:Jared Bruni -"Jared Bruni"-> 1
|
9/7/2001 12:38:14 AM:Jared Bruni guided by spirits from the 4th-> Life
is a beautiful MasterPeace
|
9/7/2001 12:39:09 AM:Jared Bruni "far beyond the beast"-> I find peace
(123)
|
9/7/2001 12:41:46 AM:Jared Bruni "forever the life, i live for who,
everything is my anything, and its
all
just for you
and for this, i
love you
"the 1 I spin is a
MasterPeace - Jared Bruni
|
9/7/2001 12:42:50 AM:Jared Bruni "working on a mystery" -> think you can
peice the puzzle (peace)?
|
9/7/2001 12:43:53 AM:Jared Bruni "love the sounds, i hear today, the
little flowers, my mind begins to
display
the current image, beyond my
scope, everything and anything is my
hope."-Jared Bruni
|
9/7/2001 12:45:03 AM:Jared Bruni "
the depth in sight, so beautiful
this life
the purpose ,is to
recite,
you are the love i feel
and
you are forever with me in the vastness
of the night."-Jared Bruni
|
9/7/2001 12:45:40 AM:Jared Bruni straight up spin it -> "looking for
your love i found the place
lost way
out in the middle of space,
pressed
down into everyplace.
"
|
9/7/2001 12:46:27 AM:Jared Bruni "gonna break even" 123
|
9/7/2001 12:47:28 AM:Jared Bruni twisting me into the land of the dead.
|
9/7/2001 12:48:07 AM:Jared Bruni the LostSideDead -> the Astral Plane
|
9/7/2001 12:48:37 AM:Jared Bruni "shes got a ticket to ride, but she
dont care"
|
9/7/2001 12:49:32 AM:Jared Bruni to be 1
|
9/7/2001 12:50:00 AM:Jared Bruni is to be rolled and spun
|
9/7/2001 12:50:41 AM:Jared Bruni no paper needed
|
9/7/2001 12:51:29 AM:Jared Bruni we are the future-> ask yourself what
do you hold ?
|
9/7/2001 12:52:01 AM:Jared Bruni to soar, or to cry, to be, or to fry
|
9/7/2001 12:52:38 AM:Jared Bruni you dEcidE
|
9/7/2001 12:56:03 AM:Jared Bruni "money its gas" - pink floyd
|
9/7/2001 12:58:40 AM:Jared Bruni "all we are saying is give peace a
chance "-> MasterPeace out :)
|
9/7/2001 1:07:27 AM:Jared Bruni truth:
"
the words I forgot I left
out red.
LSD is the key, nah
its just
in my head.
yes the answer
is that
one you said."
|
9/7/2001 1:08:30 AM:Jared Bruni simple 1 mind
|
9/7/2001 1:11:13 AM:Jared Bruni plain and simple
|
9/7/2001 1:11:36 AM:Jared Bruni "evolve and adapt"
|
9/7/2001 2:40:54 PM:vbmew It must have tooks years to create
this. On a personal level I think Jared
a robot inside the cpu. 5 Novas for me.
|
9/7/2001 3:11:43 PM:Jared Bruni I just practice alot, and every time I
learn more and more, and it bulids up.
|
9/7/2001 4:16:32 PM:Jared Bruni "pushing the barrier, planting seed"
|
9/7/2001 8:51:18 PM:Jared Bruni "seamus"- pink floyd
|
9/7/2001 8:52:46 PM:Jared Bruni 1 = Love, 0 = Fear
|
9/7/2001 8:53:21 PM:Jared Bruni "the apple" -> " the fruit of
knowledge", " the ship "
|
9/7/2001 8:54:40 PM:Jared Bruni I got 1 word to say " Karma "
|
9/7/2001 8:55:08 PM:Jared Bruni "the eletric transistor " - " the
eletric kool aid"
|
9/7/2001 8:55:33 PM:Jared Bruni "electric"
|
9/7/2001 8:56:02 PM:Jared Bruni for every action, there is a reaction
|
9/7/2001 8:56:34 PM:Jared Bruni "was it just a dream?"
|
9/7/2001 8:56:54 PM:Jared Bruni "it seemed so real to me" -John Lennon
|
9/10/2001 8:20:44 PM:Jared Bruni "nothing you can sing, that cant be
sung"-the beatles
|
9/10/2001 9:56:14 PM:Vbmew This rocks voted 1 then 5 again lol
|
9/10/2001 10:02:39 PM:Vbmew yes positive
|
9/10/2001 11:04:03 PM:Jared Bruni :) thats more like it
|
9/11/2001 10:41:44 AM:Jared Bruni "and the mountian will crumble into the
sea"
|
9/11/2001 10:42:21 AM:Jared Bruni "peace not war"
|
9/22/2001 7:19:19 PM:Jared Bruni "Here comes the Sun"the
beatles->(MicroSystems that is)
|
9/28/2001 8:12:48 PM:Patrick Gallagher ok, um, that's, um, cool, um, and, um,
ack man thats AWESOME
|
9/30/2001 11:40:50 AM:Jared Bruni Hey thanks Jason and Andy, ill see you
guys in class!
|
|
Add Your Feedback! |
Note:Not only will your feedback be posted, but an email will be sent to the code's author in your name.
NOTICE: The author of this article has been kind enough to share it with you. If you have a criticism, please state it politely or it will be deleted.
For feedback not related to this particular article, please click here. |
|