News for hackers. Stuff that matters.
Re:One Instruction Set Computer by legulere on Saturday December 07, 2019 @06:31PM (#21733360)
Re:One Instruction Set Computer by lloeki on Sunday December 08, 2019 @04:12AM (#21735026)
Came in to mention that, but the crazy stuff I was thinking about is surprisingly not mentioned in the main readme. Behold:

https://github.com/xoreaxeaxeax/movfuscator/blob/master/vali...

Yes, Doom running with just MOV.

Re:One Instruction Set Computer by teddyh on Sunday December 08, 2019 @07:15AM (#21735527)
“Running” might not be the best word for it: “The mov-only DOOM renders approximately one frame every 7 hours” I.e. about 0.00004 FPS.
Re:One Instruction Set Computer by jotm on Sunday December 08, 2019 @06:27AM (#21735389)
That's pretty amazing
Re:One Instruction Set Computer by excessive on Sunday December 08, 2019 @02:41AM (#21734785)
x86's version of a single "instruction" is frequently a large class of opcodes. It's kind of crazy considering the assembler chooses one of the following numbers for "mov" based on the operand types, not the mnemonic:

    88, 89, 8A, 8B, 8C, 8E, A0, A1, A2, A3, B0, B8, C6, C7
This also ignores all of the prefix bytes.

https://www.felixcloutier.com/x86/mov

Re:One Instruction Set Computer by mike_hock on Sunday December 08, 2019 @06:49AM (#21735458)
Also, MOV is far from only a bit copy. It's (potentially, depending on the operands), left shift, add, load, store.
Re:One Instruction Set Computer by amelius on Saturday December 07, 2019 @07:16PM (#21733565)
Except you wouldn't actually need to store the opcode for the instruction.