Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
inaba45896y@Ganofins
Put the number 5 into R0
Put the number 1 into B
Make the label JUMP and put R0 into A
Multiply A and B and put the result into A
Put the number from A into B
Then if R0 isn't 0, go to the JUMP lapel, and if it is then go on
Put A into R3
Close program -
@irene actually, using the same word for both sounds a bit stupid in comparison to English or French.
Then again, I studded at a very renovated unity so that I'm not easily impregnated anyway. \o/ -
What I don't like about this is the use of jump as a label, as I'm used to jmp being used in x86 ASM
-
@devTea I much prefer the "assembly style" syntax.
It gives a better sense of order and how things relate to each other.
I'm even building a programming language that uses this style.. -
@irene the interpreter is currently a quick hack that I came up with on a lunch break, and the readme could use some updating, but here:
https://github.com/PipelineLang/... -
@irene yes. Most of the examples don't work.
I haven't implemented loops yet..
I'm currently looking at rewriting the interpreter. -
@irene ya. Jumps.
I'm not sure how to implement them.
I had implemented them in my custom CPU project, but it was really sketchy.. -
@irene
This was the project. I had no idea what I was doing, but I learned alot about computers and programming in general.
https://github.com/Ewpratten/...
https://github.com/Ewpratten/DirAS
https://github.com/Ewpratten/...
https://github.com/Ewpratten/...
https://github.com/Ewpratten/...
https://github.com/Ewpratten/Micron
All inspired by this school project
https://github.com/Ewpratten/...
Related Rants
-
TCPizza28assignment: use winAPI to create a "virus" that put itself in autorun and does nothing. me, a curious student...
-
mcminnra10"Python is such a hard language. It has so many rules" - Undergraduate Student who sent out mass email to the ...
-
Cyanide18Took a coding exam today .. .. on paper.
Can anybody help me in understanding this assembly code of 8051?
question
8051
assembly
exam