Difference between revisions of "AMOSi:Call"

From Amiga Coding
Jump to: navigation, search
(Extracted from the AMOSPro V2.00 helpfile)
m (fixed a spelling error)
 
Line 2: Line 2:
  
  
Executes a 68000 machine code program from either an address in memory,or a memory bank. This program should have been previously installed using the PLOAD instruction from AMOS Basic.
+
Executes a 68000 machine code program from either an address in memory, or a memory bank. This program should have been previously installed using the PLOAD instruction from AMOS Basic.
  
  
Line 10: Line 10:
 
</pre></code>
 
</pre></code>
  
You can also include paramters in this instruction.  These will be automatically pushed onto the A3 stack at the start of your routine.
+
You can also include parameters in this instruction.  These will be automatically pushed onto the A3 stack at the start of your routine.
  
  

Latest revision as of 18:45, 18 November 2007

an example can be found on AMOSPro_Examples:Examples/H-7/Help_77.AMOS


Executes a 68000 machine code program from either an address in memory, or a memory bank. This program should have been previously installed using the PLOAD instruction from AMOS Basic.


Call address
Call bank number

You can also include parameters in this instruction. These will be automatically pushed onto the A3 stack at the start of your routine.


Call address,parameter list
Call bank number,parameter list