Hello All!
I was interested by the concept of programming in Assembly. I am an experienced programmer proficient in multiple language, and it occurred to me that I should write a Z80 Assembly program for my TI 84 C Silver Edition. I am relatively new to assembly, having studied higher level languages such as C++ and C#. TI-BASIC is too slow and feature-lacking for my purposes, so I have turned to Assembly.
I used the code from a tutorial for writing Assembly for the TI 84 Plus, but every time I execute the compiled .8XP on my calculator, (built with Brass and var8x) I get a "BASIC Exec error: SYNTAX." Additionally, the program, which was actually ASM, shows up as BASIC in Doors CSE 8.1.
This is my current code:
Code:
I was shocked and disappointed to see that even my simple Hello World program would not run. Please help me and either correct my code or give me a skeleton that I can use in writing my TI 84+CSE ASM programs!
HELP!!!!!
Thanks,
Oda Hideyoshi
I was interested by the concept of programming in Assembly. I am an experienced programmer proficient in multiple language, and it occurred to me that I should write a Z80 Assembly program for my TI 84 C Silver Edition. I am relatively new to assembly, having studied higher level languages such as C++ and C#. TI-BASIC is too slow and feature-lacking for my purposes, so I have turned to Assembly.
I used the code from a tutorial for writing Assembly for the TI 84 Plus, but every time I execute the compiled .8XP on my calculator, (built with Brass and var8x) I get a "BASIC Exec error: SYNTAX." Additionally, the program, which was actually ASM, shows up as BASIC in Doors CSE 8.1.
This is my current code:
Code:
.nolist
#include "ti84pcse.inc"
#define ProgStart userMem-2
.list
.org ProgStart - 2
.db t2ByteTok, tAsmCmp
b_call(_ClrLCDFull)
ld hl, 0
ld (CurRow), hl ; penRow/penCol are for the small text (_vPutS) not the large text (_putS).
ld hl, msg
b_call(_PutS) ; Display the text
b_call(_NewLine)
ret
msg:
.db "Hello world!", 0
.end
.end
I was shocked and disappointed to see that even my simple Hello World program would not run. Please help me and either correct my code or give me a skeleton that I can use in writing my TI 84+CSE ASM programs!
HELP!!!!!
Thanks,
Oda Hideyoshi






