This repository has been archived by the owner on Jan 26, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 1
AsmComp
Peter Tillema edited this page Nov 26, 2018
·
1 revision
The AsmComp(
token, found in the Catalog ([2nd]
, [0]
, you'll see it on the 8th line) tells ICE to compile another ICE program, the name of which is inside the parentheses. The subprogram should not have the i
header, and will be compiled into the location of the AsmComp(
token. This can be used if you have a large ICE program you want to split into parts or if you have a lot of sprites in your program that you'd like to avoid editing. The sub-programs can also be archived, ICE will still compile them. Example:
AsmComp(ZSPRITE)
That would compile a program called ZSPRITE
into the output program.
ICE Compiler | Peter Tillema
- Introduction
- Building your first program
- Math and numbers
- Variables
- Standard system commands
- Program flow control
- Pointers
- Graphics
- Sprites
- Tilemaps
- Useful routines