Someone made a multiplication function for the STU-1, my 8bit computer that runs on bitvm (and thus on bitcoin)! It's true, you can write bitcoin smart contracts in Assembly now instead of learning boolean logic circuits. Try it yourself here: https://github.com/supertestnet/8bit-cpu-for-bitvm

https://video.nostr.build/4efaf6669ab2e30602ac016a1947a64e2c68310ca5e3f663714415a31cd6487c.mp4

Reply to this note

Please Login to reply.

Discussion

Monumental. It's like building everything from scratch again, but possibly for the last time.

Also, notice how the program counter counts to 10 and then jumps back to 2? That's called a "JMP" command or sometimes a Loop

"But I thought bitcoin doesn't have loops!"

Well, uh, you see life, uh...finds a way

Fantastic work!

How big is the challenge-response onchain footprint?

Untested

I suspect something like 57 transactions