vmread.asm 442 B

1234567891011121314151617181920212223242526
  1. ;Testname=test; Arguments=-fbin -ovmread.bin; Files=stdout stderr vmread.bin
  2. bits 32
  3. vmread dword [0], eax
  4. vmwrite eax, dword [0]
  5. vmread [0], eax
  6. vmwrite eax, [0]
  7. bits 64
  8. vmread qword [0], rax
  9. vmwrite rax, qword [0]
  10. vmread [0], rax
  11. vmwrite rax, [0]
  12. %ifdef ERROR
  13. bits 32
  14. vmread qword [0], eax
  15. vmwrite eax, qword [0]
  16. bits 64
  17. vmread dword [0], eax
  18. vmwrite eax, dword [0]
  19. vmread qword [0], eax
  20. vmwrite eax, qword [0]
  21. %endif