其他运算指令

inc= increase
dec=decrease
and
or
not
xor

inc 操作数

inc r/m

0x12=0001 0010
0x34=0011 0100
==================
         0001 0000


0x12=0001 0010
0x34=0011 0100
==================
         0011 0110


0x12=0001 0010
0x34=0011 0100
==================
         0010  0110

mov al,0x0
xor al,al
xor al,al

0x12=0001 0010
0x12=0001 0010
================
         0000 0000


xor加密
0x1234=0001 0010 0011 0100
0x0033=0000 0000 0011 0011
=============================
             0001 0010 0000 0111=0x1207

0001 0010 0000 0111
0000 0000 0011 0011
==================
0001 0010 0011 0100  =0x1234

最简单的加密算法

原文地址:https://www.cnblogs.com/xiaodaxiaonao/p/7222495.html