Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

320 opcodes? We can golf that down to 300 for sure!


sort by: page size:

Easy to get 200+ with clearance if you can code.

Have you discovered any new opcodes?

Challenge accepted! Likely 5x less code and 2x faster. I'll keep you posted.

Get out of here with your undocumented opcodes!

(Neat.)


Thanks, I was already searching for what the opcodes meant.

But, but... 64K code points should be enough for everybody!

Not to mention all the code running at Ring -50 or whatever they're down to now (at least -3 iirc).

It's code golf. Try to do it in less than 4 characters.

Good idea. I'd take your code coverage down to single digits in one afternoon bam!

They're not non-standard, and any unrecognized 3xx codes are treated as 300.

Only about 1/3 of the available codes in 4xx is currently used, so there is still plenty of space left.

Those codes are still in use.

73 OM TNX


It would probably be worth it to temporarily define one of the reserved opcodes as putchar.

Our code?

Exactly! I was almost expecting to find a special instruction for this, but then again, why waste the opcodes!?

10 CODE IN BASIC

20 ???

30 GOSUB 10

40 PROFIT!


Check the code, there's a big list of opcodes with pretty descriptive names. The code is effectively the documentation for now.

> CODE 444

I think a ‘410: Gone’ might be better.


You could implement error correction code on top.
next

Legal | privacy