Hi guys! I'm starting to learn assembly programming. I only know C programming so it's not my first attempt at a programming language.
I've started at reading the 28 days guide. Then I've read some other guides. But I can't manage to get working the simplest program ever: hello world.
First, I had to define B_CALL because with every ti83plus.inc that I've found, TASM gave me unrecognized "something" error. Then, when I test the program at my calc (ti83plus) it only displays a zero and that's all. The weirdest part, is I tried to make a clrlcdfull program and I get the same output in display. I also tried to use some codes posted in this forum and nothing, same output.
My setup: Thinkpad 600x laptop with Windows XP, TASM compiler and var8x converter. It's my programming rig because this ancient laptop has com ports
Last code I tried to use:
Code:
PS: sorry if my grammer isn't perfect. English isn't my native language.[/img]
I've started at reading the 28 days guide. Then I've read some other guides. But I can't manage to get working the simplest program ever: hello world.
First, I had to define B_CALL because with every ti83plus.inc that I've found, TASM gave me unrecognized "something" error. Then, when I test the program at my calc (ti83plus) it only displays a zero and that's all. The weirdest part, is I tried to make a clrlcdfull program and I get the same output in display. I also tried to use some codes posted in this forum and nothing, same output.
My setup: Thinkpad 600x laptop with Windows XP, TASM compiler and var8x converter. It's my programming rig because this ancient laptop has com ports
Last code I tried to use:
Code:
.NOLIST
#define EQU .equ
#define equ .equ
#define END .end
#define end .end
#define B_CALL(xxxx) rst 28h \ .dw xxxx
#include "ti83plus.inc"
.LIST
.org 9D93h
.db $BB,$6D
B_CALL(_ClrLCDFull)
ld a,0
ld(curCol),a
ld(curRow),a
ld hl,text
B_CALL(_PutS)
ret
text:
.db "Hola Mundo",0
.end
end
PS: sorry if my grammer isn't perfect. English isn't my native language.[/img]