Monday, July 18, 2011

X86 pop instruction bizarre semantics

in an instruction, say pop [esp], the esp value in the effective address calculation should be an updated one. And if memory store raises #PF the esp value should be the one right before instruction execution. Oh Jesus.

Monday, July 4, 2011

Yet Another Eulerian Graph Indication

Each edge in a graph belongs to odd number of cycles. Prove that the graph is Eulerian.

Arm program counter

In ARM command set PC register is equal to current instruction address plus eight, that is the address of the instruction which is to be executed right after the next one. Oh, arm.