RE: asm.e atten: Pete E. or Mic

new topic     » goto parent     » topic index » view thread      » older message » newer message

>-- ======================================
>     #89,#E6,                addr to peek
>     #31,#C0,                xor eax, eax
>     #AC,#C2,#00,#00,#00,    lodsb
>     #C2,#04,#00,            ret 4
>-- ======================================

I think it's db that's broken, not lodsb.
"nop db #C2,#04,#00 " gave me

   #90,#C2,#00,#00,#00,    -- nop
   #C2,#04,#00,            -- db #C2,#04,#00

which is incorrect. I've never looked at the code that handles db:s since 
I've never used them myself, so Pete would be better suited to explain why 
this happens.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu