Jump to content
Sign in to follow this  
  • entries
    570
  • comments
    2427
  • views
    217134

Untitled

Sign in to follow this  
Mushu

293 views

So yeah, haven't been posting recently. Mainly because I haven't been on the internet much the past couple days. Mainly because

ITC has limited your network bandwidth speed to 56kbps (modem speed) for 7 days effective 2006-10-20. This limitation only impacts commodity Internet traffic. The limitation is applied to all computers registered to you.

I have a couple ways of bypassing it, of course, but they all involve one of the UNIX clusters and I'd rather not push my luck with something I can get in too much trouble with. Though... I guess I am downloading over a GB/day with the UNIX cluster :X

But yeah.

So we're working with IBCM (Itty Bitty Computing Machine or something like that), which is like a crippled version of x86: only 1 register, no stack, and only 15 opcodes. Its pretty weird, yet straight-forward (we start x86 next week).

Anyway, its lol because they want us to convert something like this:
	jmp 	start
rah dw 0
rawr dw 0
rawk dw 0
start readH
store rah
readH
store rawr
readH
store rawk
add rawr
add rah
jmpe end
jmp start
end load rah
printH
load rawr
printH
load rawk
printH
halt
to this:

C00400000000000010004001100040021000400350
025001D00EC0043001180030021800300318000000


By hand. LOL. So I opened up my compiler for the first time today and, well, wrote what could be considered a compiler I guess. I like to think of it as an encoder, because it essentially encodes the opcodes into... numerical... opcodes. Or something.

Considering I have to write some sorting algorithms in IBCM tommorrow morning, I think it'll have saved me a considerable amount of time.

I wanted to also write a better debugging environment than the one provided (which crashes like tissue paper) but the mere thought of MFC turned me off to that. So lol.

So yeah. I'm not dead. Yet.
Sign in to follow this  


4 Comments


Recommended Comments

That reminds me a bit of the pretend assembler I wrote for my imaginary virtual machine.

I really should get back to that project.

Share this comment


Link to comment
Quote:
Original post by Mushu
By hand. LOL. So I opened up my compiler for the first time today and, well, wrote what could be considered a compiler I guess. I like to think of it as an encoder, because it essentially encodes the opcodes into... numerical... opcodes. Or something.
So, an assembler in other words? [rolleyes]

Share this comment


Link to comment
Quote:
Original post by benryves
Quote:
Original post by Mushu
By hand. LOL. So I opened up my compiler for the first time today and, well, wrote what could be considered a compiler I guess. I like to think of it as an encoder, because it essentially encodes the opcodes into... numerical... opcodes. Or something.
So, an assembler in other words? [rolleyes]

Oh. yeah [embarrass]

Share this comment


Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!