TI-BASIC:Asmcomp

From Learn @ Cemetech
Jump to navigationJump to search

ASMCOMP.GIF

Command Summary

Compresses an assembly program in hexadecimal form into binary form.

Command Syntax

Asm(prgmORIGINAL,prgmRESULT)

Menu Location

This command is only found in the catalog. Press:

  1. 2nd CATALOG to access the command catalog.
  2. Scroll down to AsmComp( and press enter.

Calculator Compatibility

TI-83+/84+/SE/CSE/CE

(not available on the regular TI-83)

Token Size

2 bytes

This command is used to compress an assembly program written using AsmPrgm into an "assembled" assembly program. This will make the program about twice as small, and protect it from being edited, in addition to making execution faster.

To use AsmComp(, give it the ASCII represented assembly program, followed by the name you want the assembled program to have. That name can't be already taken. Since it's not easy to rename an assembled assembly program, if you want to write a program called prgmGAME, you type the ASCII represented code in a program with a different name (e.g. GAMEA) and then do AsmComp(prgmGAMEA,prgmGAME).

Assembly programs can be run with Asm(.

Error Conditions

Related Commands