• entries
570
2427
• views
216457

# Untitled

241 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 	startrah 	dw	0rawr	dw	0rawk 	dw	0start 	readH	store 	rah	readH	store 	rawr	readH	store 	rawk	add 	rawr	add 	rah	jmpe 	end	jmp 	startend 	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.

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

I really should get back to that project.

Pursuade them to use DruinkScript. Just wait a month or two for me to finish it...

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]

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]