INTERRUPT

From QB64 Wiki
Revision as of 06:22, 17 September 2009 by imported>Clippy (Created page with 'The '''INTERRUPT''' statement is an assembly routine for accessing computer information registers. * INTERRUPT can only use ax, bx, cx, dx, bp, si, di, and the flags values. …')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The INTERRUPT statement is an assembly routine for accessing computer information registers.



  • INTERRUPT can only use ax, bx, cx, dx, bp, si, di, and the flags values.
  • The TYPE definition below will work for both INTERRUPT and INTERRUPTX statement calls:


TYPE RegTypeX
ax AS INTEGER
bx AS INTEGER
cx AS INTEGER
dx AS INTEGER
bp AS INTEGER
si AS INTEGER
di AS INTEGER
flags AS INTEGER
ds AS INTEGER
es AS INTEGER
END TYPE


DIM SHARED regs AS RegTypeX



See also: $INCLUDE, QB.BI