So I have this code and it won't assemble using the DCS7 compiler:
Code:
What's wrong with this?
DocDe7 compiles fine, so....
By the way, this is the output that I get:
Code:
Code:
.nolist
#define TASM
#include "ti83plus.inc"
#include "dcs7.inc"
.list
.org progstart
.db $BB,$6D
INIT:
xor d
ret
jr Start
.dw $0000 ;No Description
.db $07,$00 ;always this string
.dw $0000 ;No Icon
.dw $0000 ;No ALEs
Start: ;main routines ;etc etc etc
ld a,0
A:
inc a
cp 250
jp c,A
ld l,a
ld h,0
B_CALL _DispHL
B_CALL _getKey
ret
What's wrong with this?
DocDe7 compiles fine, so....
By the way, this is the output that I get:
Code:
----------------------------------
Doors CS Assembler\Compiler
Version 2.0
Written by Kerm Martian
http:\\www.Cemetech.net
----------------------------------
----- Assembling Test for the TI-83/84 Plus...
Brass Z80 Assembler 1.0.4.11 - Ben Ryves 2005-2006
--------------------------------------------------
Assembling...
Error: Label 'Start' already defined. [zztemp.asm:17]
Error: Label 'ld' already defined. [zztemp.asm:18]
Error: Label 'a' already defined. [zztemp.asm:20]
Error: Label 'ld' already defined. [zztemp.asm:23]
Error: Label 'ld' already defined. [zztemp.asm:24]
Error: Label '_DispHL' already defined. [zztemp.asm:25]
Error: Label 'B_CALL' already defined. [zztemp.asm:26]
Error: Label '_getKey' already defined. [zztemp.asm:26]
Error: Label 'ret' already defined. [zztemp.asm:27]
Pass 1 complete. (1000ms).
Pass 1 failed, pass 2 therefore skipped.
Errors: 9, Warnings: 0.
Build failed.
--+=====================+--
--| BinPac8x v1.2 |--
--| by Kerm Martian |--
--| www.Cemetech.net |--
--| admin@cemetech.net |--
--+=====================+--
**Pass 1/1: .8xp Construction**
Error: Input file Test.bin was not found!
Total time: 0.0s
----- Test for the TI-83/84 Plus Assembled and Compiled.
TI-83 Plus version is Test.8xp