home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.asm.x86      Ahh, the lost art of x86 assembly      4,675 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 2,936 of 4,675   
   wolfgang kern to John   
   Re: Look back to "just for the H@ck"   
   19 Aug 17 12:16:57   
   
   From: nowhere@never.at   
      
   Kerr-Mudd,John wrote:   
      
   > [JNO v JNZ after XOR]   
   > same difference!   
      
   ? same ? or different :)   
   JNO and JNC after XOR behave equal as branch always, while JNZ/Z and JNS/S   
   depend on result.   
      
   >> Sorry, I can't tell from where the 'jpe' joined in, I know that 70=JNO.   
      
   correction: 70 is JO and 71 is JNO.   
      
   > jpe is "cunning" choice; see below   
   ...   
   > I was doubly wrong; I do need jpe!   
      
   I'll check one more time to figure the sense of it.   
      
   0128 38 37    cmp[bx],dh    ;5a-68=f2==odd; 32-68=ca==even   
   012a 7a 39    jpe 0165      ;modified to jpe 0133 (+7)   
   012c 46       inc si        ;   
   012d 38 34    cmp[si],dh    ;find your "h"   
   012f 75 43    jnz 0174      ;iterate to 0128   
   0131 30 37    xor[bx],dh    ;[bx]=32  Oh yeah here it is   
      
   Ok I got it yet, neat trick within a trick to set 'FOUND'!   
      
   > Now trying B64 within the loop; probably not be shorter, but I have to   
   > try.   
      
   Not sure if possible, wouldn't a larger payload overwrite it ?   
   __   
   wolfgang   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca