Difference between revisions of "83Plus:BCALLs:4E7C"
From WikiTI
m (Added categories) |
m (formatting clean-up) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | [[Category:83Plus:BCALLs:By Name:Parser|ExecutePrgm]] | + | [[Category:83Plus:BCALLs:By Name:Parser|ExecutePrgm]] [[Category:83Plus:BCALLs:By Name|ExecutePrgm]] [[Category:83Plus:BCALLs:By Address|4E7C - ExecutePrgm]] |
− | [[Category:83Plus:BCALLs:By Name|ExecutePrgm]] | + | |
− | [[Category:83Plus:BCALLs:By Address|4E7C - ExecutePrgm]] | + | |
== Synopsis == | == Synopsis == | ||
'''Official Name:''' ExecutePrgm | '''Official Name:''' ExecutePrgm | ||
Line 7: | Line 5: | ||
'''BCALL Address:''' 4E7C | '''BCALL Address:''' 4E7C | ||
− | Executes an | + | Executes an assembly program by name. |
=== Inputs === | === Inputs === | ||
− | * [[83Plus:RAM:8478|OP1]]: Name of the nostub | + | * [[83Plus:RAM:8478|OP1]]: Name of the nostub assembly program you want to run |
=== Outputs === | === Outputs === | ||
Line 16: | Line 14: | ||
=== Destroys === | === Destroys === | ||
− | All (at least the | + | All (at least the assembly program can destroy them) |
== Comments == | == Comments == | ||
− | This B_CALL executes an | + | This B_CALL executes an assembly program the same way running the program using Asm( would. This means that you can only run programs you could run from the homescreen. It also means that the amount of available memory must be at least as large as the size of the program to execute, because it will copy the program to 9D95h. Shells like Ion or MirageOS move the program to 9D95h, which means that they can execute larger programs, because they don't need the extra RAM to be available. |
== Example == | == Example == |
Latest revision as of 12:40, 20 October 2008
Contents
Synopsis
Official Name: ExecutePrgm
BCALL Address: 4E7C
Executes an assembly program by name.
Inputs
- OP1: Name of the nostub assembly program you want to run
Outputs
None
Destroys
All (at least the assembly program can destroy them)
Comments
This B_CALL executes an assembly program the same way running the program using Asm( would. This means that you can only run programs you could run from the homescreen. It also means that the amount of available memory must be at least as large as the size of the program to execute, because it will copy the program to 9D95h. Shells like Ion or MirageOS move the program to 9D95h, which means that they can execute larger programs, because they don't need the extra RAM to be available.
Example
ld hl, programToExecute rst rMOV9TOOP1 B_CALL ExecutePrgm
Credits and Contributions
- Michael Vincet: For telling others about this B_CALL.