[TI ASM] Problems assembling
Posted: Thu 15 Jun, 2006 1:57 am
I'm sure I'm doing something very simple wrong. I'm starting in on the asm in 28 days guide after doing some with the assembly programming basics guide a few months ago. I set up the folder exactly how the 28 days said to, but when I tried to assemble the hello world program, tasm gave me errors. I copied it directly out of the guide, so it wasn't a typing error. I then tried to compile the first program from assembly programing basics, and it assembled with no errors. However, devpack said that the file was not found. I didn't get any output. Here is the text of both programs, as well as a picture of the DOS output and the contents of the assembler folder.
28 days hello world program
assembly programming basics first program
![Image](http://img150.imageshack.us/img150/5818/cmdtext9xy.th.png)
![Image](http://img150.imageshack.us/img150/9845/filesintasmfolder7dk.th.png)
28 days hello world program
Code: Select all
.nolist
#include "ti83plus.inc"
#define ProgStart $9D95
.list
.org ProgStart - 2
.db t2ByteTok, tAsmCmp
b_call(_ClrLCDFull)
ld hl, 0
ld (PenCol), hl
ld hl, msg
b_call(_PutS) ; Display the text
b_call(_NewLine)
ret
msg:
.db "Hello world!", 0
.end
.end
assembly programming basics first program
Code: Select all
#define B_CALL(xxxx) rst 28h \ .dw xxxx ;This defines the two macros, bcall and bjump
#define B_JUMP(xxxx) call 50h \ .dw xxxx ;Don't worry about bjump too much because you won't you use it very often
_clrlcdfull =4540h ;The calls we will be using are defined here
_homeup =4558h
.org 9D95h ;This tells the calculator that the program will start at the mem adress 9D95h
B_CALL(_homeup) ;Bringing up the home screen
B_CALL(_clrlcdfull) ;Clearing the screen
ret ;Returning to TI-OS
.end ;End of program
END
![Image](http://img150.imageshack.us/img150/5818/cmdtext9xy.th.png)
![Image](http://img150.imageshack.us/img150/9845/filesintasmfolder7dk.th.png)