Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Witless code that I wrote for my own entertainment a couple months ago.

  • You cannot reply to this topic
No replies to this topic

#1 General Awesome   Members   -  Reputation: 205

Like
0Likes
Like

Posted 14 March 2014 - 12:38 AM

https://github.com/JohnLamontagne/RetroAssem/blob/master/src/RetroAssem%20Interpreter/Interpreter.cs

 

Luckily this project was just for fun (I was extremely bored). 

 

I mean, it isn't the worst thing that I've ever done (by far), but there's just so much wrong with the project in general.

 

List of things that are obviously wrong:

- For some reason, I have two different ways to halt the program: The Halt token, and the built in function call.

- I don't consider the fact that someone might want to use a hexadecimal number for things other than memory addresses throughout the code.

- I don't think I even spelled hexadecimal correctly throughout parts of the code. 

 

 

I-have-no-idea-what-I-am-doing.jpg


Edited by General Awesome, 14 March 2014 - 12:48 AM.


Sponsor:




PARTNERS