Skip to content
Snippets Groups Projects
Commit 952c65ed authored by Anh Nguyen-Tuong's avatar Anh Nguyen-Tuong
Browse files

Fix comment

parent ed320233
No related branches found
No related tags found
No related merge requests found
Pipeline #2697 failed
...@@ -464,14 +464,13 @@ bool Laf_t::traceBytes2(Instruction_t *p_instr, const uint32_t p_immediate) ...@@ -464,14 +464,13 @@ bool Laf_t::traceBytes2(Instruction_t *p_instr, const uint32_t p_immediate)
// m = k[0..3] ; m is memory where we stashed the constant // m = k[0..3] ; m is memory where we stashed the constant
// cmp t, dword [m] ; elide if 4 byte compare // cmp t, dword [m] ; elide if 4 byte compare
// +- je check_upper ; elide if 4 byte compare // +- je check_upper ; elide if 4 byte compare
// | // | and t, 0x00ffffff ; clear 4th byte
// | mov m[3], 0xff ; clear 4th byte
// | cmp t, byte [m] <---+ ; loop_back // | cmp t, byte [m] <---+ ; loop_back
// | jne orig | // | jne orig |
// | t >> 8 | // | t >> 8 |
// | m >> 8 | // | m >> 8 |
// | jmp ------------------+ // | jmp ------------------+
// | and t, 0x00ffffff ; clear 4th byte
// | mov m[3], 0xff ; clear 4th byte
// check_upper: ; only if 8 byte compare // check_upper: ; only if 8 byte compare
// t = reg[4..7] // t = reg[4..7]
// and t, 0x00ffffff ; clear 7th byte // and t, 0x00ffffff ; clear 7th byte
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment