Advertisement
Guest User

Untitled

a guest
May 7th, 2022
33
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. struct powerpc_opcode
  2. {
  3. /* The opcode name. */
  4. const char *name;
  5.  
  6. /* The opcode itself. Those bits which will be filled in with
  7. operands are zeroes. */
  8. uint64_t opcode;
  9.  
  10. /* The opcode mask. This is used by the disassembler. This is a
  11. mask containing ones indicating those bits which must match the
  12. opcode field, and zeroes indicating those bits which need not
  13. match (and are presumably filled in by operands). */
  14. uint64_t mask;
  15.  
  16. /* One bit flags for the opcode. These are used to indicate which
  17. specific processors support the instructions. The defined values
  18. are listed below. */
  19. ppc_cpu_t flags;
  20.  
  21. /* One bit flags for the opcode. These are used to indicate which
  22. specific processors no longer support the instructions. The defined
  23. values are listed below. */
  24. ppc_cpu_t deprecated;
  25.  
  26. /* An array of operand codes. Each code is an index into the
  27. operand table. They appear in the order which the operands must
  28. appear in assembly code, and are terminated by a zero. */
  29. unsigned short operands[8];
  30. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement