You can run programs written for the TI CE family of graphing calculators in assembly language. Typically, assembly language programs run much faster and provide greater control than the keystroke programs that you write with the built-in program editor.
Note: Because an assembly language program has greater control over the calculator, if your assembly language program has error(s), it may cause your calculator to reset and lose all data, programs, and applications stored in memory.
When you download an assembly language program, it is stored among the other programs as a PRGM menu item. You can:
| • | Transmit it using the TI CE graphing calculator communication link. |
| • | Delete it using the Memory Management/ Delete screen. |
To run an assembly Program, the syntax is: Asm(assemblyprgmname)
CE OS 5.3 and later the Asm( command is optional.
If you write an assembly language program, use the two instructions below from the CATALOG to identify and compile the program.
|
Instructions |
Comments |
|
AsmComp(prgmASM1, prgmASM2) |
Compiles an assembly language program written in ASCII and stores the hex version |
|
Asm84CEPrgm |
Identifies an assembly language program; must be entered as the first line of an assembly language program |
To compile an assembly program that you have written:
| 1. | Follow the steps for writing a program (16-4) but be sure to include Asm84CEPrgm as the first line of your program. |
CE OS 5.3.1 and later: The Asm84CEPrgm (and Asm83CEPrgm) command is not accessible in the OS catalog in version 5.3.1 or later. Use TI Connect™ CE program editor to access the command in the catalog. Programs that use this command can then be linked to, edited and run on the calculator.
| 2. | From the home screen, press y N and then select AsmComp( to paste it to the screen. |
| 3. | Press ¼ to display the PRGM EXEC menu. |
| 4. | Select the program you want to compile. It will be pasted to the home screen. |
| 5. | Press ¢ and then select prgm from the CATALOG. |
| 6. | Key in the name you have chosen for the output program. |
Note: This name must be unique — not a copy of an existing program name.
| 7. | Press ¤ to complete the sequence. |
The sequence of the arguments should be as follows:
AsmComp(prgmASM1, prgmASM2)
| 8. | Press Í to compile your program and generate the output program. |
Note: The TI-84 Plus or TI-84 Plus C Silver Edition AsmPrgm transfers to the
TI-84 Plus CE but fails upon execution.