TI Editor Assembler
Appendix A: ASCII code table (symbol, HEX, Dec)

NUL SOH STX ETX EOT ENQ ACK BEL BS  HT  LF  VT  FF  CR  SO  SI
00  01  02  03  04  05  06  07  08  09  0A  0B  0C  0D  0E  0F
00  01  02  03  04  05  06  07  08  09  10  11  12  13  14  15

DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM  SUB ESC FS  GS  RS  US
10  11  12  13  14  15  16  17  18  19  1A  1B  1C  1D  1E  1F
16  17  18  19  20  21  22  23  24  25  26  27  28  29  30  31

SP  !   "   #   $   %   &   '   (   )   *   +   ,   -   .   / 
20  21  22  23  24  25  26  27  28  29  2A  2B  2C  2D  2E  2F
32  33  34  35  36  37  38  39  40  41  42  43  44  45  46  47

0   1   2   3   4   5   6   7   8   9   :   ;   <   =   >   ?
30  31  32  33  34  35  36  37  38  39  3A  3B  3C  3D  3E  3F
48  49  50  51  52  53  54  55  56  57  58  59  60  61  62  63

@   A   B   C   D   E   F   G   H   I   J   K   L   M   N   O
40  41  42  43  44  45  46  47  48  49  4A  4B  4C  4D  4E  4F
64  65  66  67  68  69  70  71  72  73  74  75  76  77  78  79

P   Q   R   S   T   U   V   W   X   Y   Z   [   \   ]   ^   _
50  51  52  53  54  55  56  57  58  59  5A  5B  5C  5D  5E  5F
80  81  82  83  84  85  86  87  88  89  90  91  92  93  94  95

`   a   b   c   d   e   f   g   h   i   j   k   l   m   n   o
60  61  62  63  64  65  66  67  68  69  6A  6B  6C  6D  6E  6F
96  97  98  99  100 101 102 103 104 105 106 107 108 109 110 111

p   q   r   s   t   u   v   w   x   y   z   {   |   }   ~   DEL
70  71  72  73  74  75  76  77  78  79  7A  7B  7C  7D  7E  7F
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127


Appendix B: Suggest Labels RUN - code to run LOOP - create a loop MLOOP - create a main loop
A Add (words) Example: A R3,R4 This examples takes value in the first register (R3), add the second Register (R4), and stores new number into the second register (R4).
AI Add immediately Add numbers not yet stored.
AB Add Bytes
C Compare words
CB Compare Bytes
MOV MOVe word Example 1: MOV *R5,R0 Example 2: MOV *R1+,R0
MOVB MOVe Byte
S Substract (words)
SB Subtract Bytes
SOC Set Ones Corresponding SOCB Set Ones Corresponding, Byte SZC Set Zeros Corresponding
SZCB Set Zeros Corresponding, Byte
JEQ Jump if EQual
JGT Jump if Greater Than
JH Jump if logical High
JHE Jump If High or Equal
JL Jump if logical Low
JLE Jump if Low or Equal JLT Jump if Less Than
JMP unconditional JuMP Example: JMP LOOP ; jump to a label
JNC Jump if No Cairy JNE Jump if Not Equal JNO Jump if No Overflow JOC Jump On Carry
JOP Jump if Odd Parity
CI Compare Immediate
LI Load Immediate Example: LI R0,367 ; 367 = video display LI R1,88 ; character 88 (x) into register 1
SWPB swap byte Example: DEF RUN REF VSBW RUN LI R0,367 LI R1,88 SWPB 1 ; swap bytes so 88 comes first BLWP @VSBW LOOP JMP LOOP END
BLWP
DATA Store data Example: DATA >008B
TEXT Store Text Example 1: TEXT 'THIS IS TEXT' Example 2: DEF GREET REF VMBW MSG1 DATA >008B DATA >0008 TEXT 'WELCOME!' GREET LI R1,MSG1 MOV *R1+,R0 MOV *R1+,R2 BLWP @VMBW FREEZ JMP FREEZ END