News for hackers. Stuff that matters.
Re:Visual x86 emulator by pmalynin on Tuesday June 09, 2015 @01:43AM (#9684241)
Code is really not doing anything, it would be equivalent (in output that is) to he following code with some sort of optimization.

unsigned short data[8] = {0, 0, 0, 0, 0, 0, 0, 0};

for(int i=0;i<8;i++) {

   data[i] += 0xff1;
}

for(int i=0;i<8;i++) {

   data[i] += 1;
}

data[0] = 0x7fff;

data[0] += 1;

data[0] += 1;

And so on.

So yea, nothing special.

Re:Visual x86 emulator by thlorenz on Tuesday June 09, 2015 @11:17AM (#9686409)
More interesting snippets are coming once I can emulate more instructions. These are the ones it currently can do: https://github.com/thlorenz/visulator/tree/master/test/fixtu...

I agree though that a more interesting example would be nice and I'll try to come up with one even with what it can do now.