Eject.asm 221 B

123456789101112131415
  1. .model small
  2. .code
  3. org 100h
  4. start:
  5. mov ax, 440Dh ; generic IOCTL
  6. mov bx, 'Q'-'@' ; see below
  7. mov ch, 8 ; device category
  8. mov cl, 49h ; Eject Removable Media
  9. int 21h
  10. int 20h
  11. end start