Call absolute works with assembly programming. There are some examples around at some QB sites.
You basically have to enter the assembly codes (hex values)
into an array then call absolute pointing to the first
array item.
Interrupt and interruptx call the MS-dos interrupts.
They can be used for all kinds of things.
You can set the AX,BX,CX registers using the type definitions in the qb.bi file (or qbx.bi for pds).
The AX register usually controls what sub-set of the interrupt is used. For example interrupt 20H has lots of
things it does, many for the screen. The different processes are accessed by what is in the AH/AL or AX registers.
There is a list of interrupts and what they do on my site.
Call Absolute calls a function via an absolute address in memory...
You usually use a string, insert machine code characters into it and the use Varseg so send the absolute address of the string to Call Absolute to run the opcodes at that address in memory...
Confused Yet? ;-)
Basically each Assembly command has an OpCode (Operation Code) associated with it...
Take this Assembly Code for Example: mov AX, 1
int 33
Retf
Is the same as this in Hex Machine code... B80100
CD33
CB
Expanation... mov AX : B8 1 : 0001 ... 00 01 ... 01 00 ... 0100 (low byte:high byte) int : CD 33 : 33 (same since it is only 1 byte) retf : CB
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.