Advertisement
captmicro

cryptovm instructions

Aug 5th, 2012
389
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 1.44 KB | None | 0 0
  1. #define CRYPTOVM_IHALT      (0x0000) //DONE
  2. #define CRYPTOVM_INOP       (0x0001) //DONE
  3. #define CRYPTOVM_IINT       (0x0002) //DONE
  4. #define CRYPTOVM_ISIV       (0x0003) //DONE
  5. #define CRYPTOVM_IMOV       (0x0004) //DONE
  6. #define CRYPTOVM_IPUSH      (0x0005) //DONE
  7. #define CRYPTOVM_IPOP       (0x0006) //DONE
  8. //MATH
  9. #define CRYPTOVM_IMADD      (0x0010) //DONE
  10. #define CRYPTOVM_IMSUB      (0x0011) //DONE
  11. #define CRYPTOVM_IMMUL      (0x0012) //DONE
  12. #define CRYPTOVM_IMDIV      (0x0013) //DONE
  13. #define CRYPTOVM_IMINC      (0x0014) //DONE
  14. #define CRYPTOVM_IMDEC      (0x0015) //DONE
  15. //LOGIC
  16. #define CRYPTOVM_ILAND      (0x0020) //DONE
  17. #define CRYPTOVM_ILNAND     (0x0021) //DONE
  18. #define CRYPTOVM_ILOR       (0x0022) //DONE
  19. #define CRYPTOVM_ILNOR      (0x0023) //DONE
  20. #define CRYPTOVM_ILXOR      (0x0024) //DONE
  21. #define CRYPTOVM_ILXNOR     (0x0025) //DONE
  22. #define CRYPTOVM_ILSHL      (0x0026) //DONE
  23. #define CRYPTOVM_ILSHR      (0x0027) //DONE
  24. //BRANCHING
  25. #define CRYPTOVM_IBJMP      (0x0030) //DONE
  26. #define CRYPTOVM_IBCALL     (0x0031) //DONE
  27. #define CRYPTOVM_IBRET      (0x0032) //DONE
  28. #define CRYPTOVM_IBCMP      (0x0033) //DONE
  29. #define CRYPTOVM_IBJZ       (0x0034) //DONE [USING JE]
  30. #define CRYPTOVM_IBJNZ      (0x0035) //DONE [USING JNE]
  31. #define CRYPTOVM_IBJE       (0x0036) //DONE
  32. #define CRYPTOVM_IBJNE      (0x0037) //DONE
  33. #define CRYPTOVM_IBJL       (0x0038) //DONE
  34. #define CRYPTOVM_IBJLE      (0x0039) //DONE
  35. #define CRYPTOVM_IBJNL      (0x003A) //DONE
  36. #define CRYPTOVM_IBJG       (0x003B) //DONE
  37. #define CRYPTOVM_IBJGE      (0x003C) //DONE
  38. #define CRYPTOVM_IBJNG      (0x003D) //DONE
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement