Search code examples
assemblyhexopcodetexas-instruments

Only printing H for a “Hello World!” program in TI 84+ CE Assembly


For whatever reason, I’ve decided I want to learn to program my TI 84+ CE in Assembly using only the hex codes. Don’t ask me why.

Anyway, I’ve followed the tutorial "Hello, World!" in Hex codes for TI-84+CE.

However, instead of printing Hello World!, it prints an H. The output looks like this:

TI's code

Here’s the code:

Asm84CEPrgm
218EA8D1
CDC00702
CDF00702
C9
48656C6C6F2C20776F726C642100

I can’t figure out why it only prints an H and I hope someone could help.

Edit: I think I found a question addressing the same issue. It seems to be a problem with Mathprint. PutS only displaying one character on TI-84 Plus Silver edition


Solution

  • The problem is with Mathprint messing up the formatting. The solution is to go into the mode settings and change it from Mathprint to Classic.

    Here's a similar question addressing the same topic: PutS only displaying one character on TI-84 Plus Silver edition