84+CSE Hexcodes
asmprgm-example.gif
Example of Inputting Hex Code

There are all sorts of small assembly programs that you can create simply using the calculator's built-in assembly commands (specifically, AsmPrgm84C and AsmPrgmCE), along with the appropriate hexadecimal code. In order to run a program, you need to use the Asm( command, where Asm(prgmPROGNAME is the program that contains the hexadecimal code.

As a word of caution, when entering in the hexadecimal, you need to be very careful that you type it in exactly as you see it. If there is a single incorrect character, the calculator might crash and reset your RAM when you turn it on again. We have tested the hexadecimal codes to make sure they work, but it's up to you to enter them in correctly.

Table of Contents

Toggle Program Mode

:AsmPrgm84C
:FD7E08EE02FD7708C9

When used in a program, it allows you to use Archive and UnArchive on other programs. warning: Make sure to switch back to "program mode" when you're done by running the program again.

Screen to Graph [TO DO]

Quick Key [TO DO]

Text Inverse

:AsmPrgm84C
:FD7E05EE08FD7705C9

This will switch from normal text mode to inverse (white text on black background) and vice versa.

Lowercase

Lowercase On

AsmPrgm84C
:FDCB24DEC9

Lowercase Off

AsmPrgm84C
:FDCB249EC9

Lowercase Toggle

AsmPrgm84C
:FD7E24EE08FD7724C9

This will toggle lowercase on or off

Fill Screen [TO DO]

LCD Clear [TO DO]

White [TO DO]

Black [TO DO]

Border [TO DO]

White Border [TO DO]

Black Border, Clear Inside [TO DO]

Invert Screen [TO DO]

Change contrast level [TO DO]

Set Contrast [TO DO]

Decrease Contrast [TO DO]

Increase Contrast [TO DO]

Run Indicator [TO DO]

Run Indicator Off [TO DO]

Run Indicator On [TO DO]

Toggle Run Indicator

AsmPrgm84C
:FD7E12EE01FD7712C9

Note that when this routine turns the run indicator off, it doesn't erase the run indicator, it simply stops it. You can do this yourself — either by outputting something to the top right corner, or by clearing the screen (ClrDraw or ClrHome, doesn’t matter).

Simulated Key Presses

Alpha Lock

AsmPrgm84C
:3E51FD7712C9

This simulates [2nd][Alpha]

Alpha Lock (No disable)

AsmPrgm84C
:3ED1FD7712C9

This is the same as the first, but you have to press [2nd][mode] to disable it.

Lowercase Press

AsmPrgm84C
:3E31FD7712C9

This works even if lowercase isn't enabled.

Lowercase Lock

AsmPrgm84C
:3E71FD7712C9

This simulates [2nd][Alpha][Alpha].

Lowercase Lock (No disable)

AsmPrgm84C
:3EB1FD7712C9

This can only be disabled by pressing [2nd][mode]

Alpha Off

AsmPrgm84C
:3E01FD7712C9

[2nd]

AsmPrgm84C
:FDCB12DEC9

An interesting use of these codes can be for prompting user input (If you run Alpha Lock, for example, Input will start with an Alpha press.

If you run the Alpha Lock that can't be disabled at the start of your program and a user presses ON (or an error occurs), you will not be able to select the options, so you are forced to press [2nd][mode].

Disabling "Done" Message

To disable the "Done" message at the end of a Basic program:

AsmPrgm84C
:FDCB00AEC9

Un-Dirty Graph Screen

:AsmPrgm84C
:FDCB0386C9

This will mark the Graph Screen as not dirty. Using ClrDraw will mark the Graph Screen as dirty so the next time it is displayed the screen will be cleared. Many ASM libraries (such as xLIB) modify the graph buffer without displaying the screen which might be unintentionally cleared.

Turn Calculator Off [TO DO]

LCD Off [TO DO]

LCD On [TO DO]

Toggle LCD Power [TO DO]

Calculator Off [TO DO]

Auto Calc

Auto DMS

AsmPrgm84C
:FD360A06C9

Auto DMS displays all decimals in Degrees-Minutes-Seconds on the home screen, automatically.

Auto Fractions

AsmPrgm84C
:FD360A0CC9

Auto Fractions will display decimals as fractions (if it can) on the home screen, automatically.

Screen Shifting [TO DO]

Shift Screen Right 1 [TO DO]

Shift Screen Left 1 [TO DO]

Shift Screen Up 1 [TO DO]

Shift Screen Down 1 [TO DO]

Shift Screen Right 4 [TO DO]

Shift Screen Left 4 [TO DO]

Shift Screen Up 4 [TO DO]

Shift Screen Down 4 [TO DO]

Memory Functions [TO DO]

Free RAM [TO DO]

Archiving [TO DO]

Unarchiving [TO DO]

ToggleArch [TO DO]

Reset Defaults [TO DO]

Reset RAM

AsmPrgm84C
:C7

DelVar [TO DO]

Miscellaneous

Remove Cursor

AsmPrgm84C
:FDCB0CE6C9

This is harmless, but it stops displaying that blinking cursor :D Just press [2nd][MODE] to put it back to normal. What, jokes are allowed, right?

Edit Lock/Unlock Program [TO DO]

Battery Check [TO DO]

ASCII [TO DO]

AsmPrgm84CE
:EF7BCD500f02CD700F02CDB80702C9

Display an ASCII character at the last cursor position, using Ans (0 to 255) (TI-84 Plus CE)

Error [TO DO]

Advanced [TO DO]

CharLength [TO DO]

String Pixel Width [TO DO]

ListToVars 1 [TO DO]

ListToVars 2 [TO DO]

ExecAns [TO DO]

RepeatKeys [TO DO]

FastKeys [TO DO]

MultiKeys 2 [TO DO]

Sprite [TO DO]

References

Most of these are ported from the TI-83+ Hexcodes page.

Unless otherwise stated, the content of this page is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 License