diff options
author | lloyd <[email protected]> | 2006-08-13 09:05:42 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2006-08-13 09:05:42 +0000 |
commit | cec6047cc9f5ba4cc56072d61cc74c2be7fa4015 (patch) | |
tree | dafcdce4dad4106f958f7e47c7943d666f02fa91 /modules/sha_x86/asm_macr.h | |
parent | 3407bb3f171af14585ce16a344e3e224f2ecb3d4 (diff) |
Switch the destination and source arguments of ADD()
Diffstat (limited to 'modules/sha_x86/asm_macr.h')
-rw-r--r-- | modules/sha_x86/asm_macr.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/sha_x86/asm_macr.h b/modules/sha_x86/asm_macr.h index 3d19b5f4c..92f9973a0 100644 --- a/modules/sha_x86/asm_macr.h +++ b/modules/sha_x86/asm_macr.h @@ -45,8 +45,8 @@ func_name: #define ARRAY(REG, NUM) 4*NUM(REG) #define ARG(NUM) 4*PUSHED + ARRAY(ESP, NUM) -#define ADD(FROM, TO) addl FROM, TO -#define ADD_IMM(REG, NUM) addl IMM(NUM), REG +#define ADD(TO, FROM) addl FROM, TO +#define ADD_IMM(TO, NUM) addl IMM(NUM), TO #define ADD2_IMM(TO, FROM, NUM) leal NUM(FROM), TO #define XOR(FROM, TO) xorl FROM, TO |