•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the Assembly section within the Software Development category of DaniWeb, a massive community of 456,417 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,606 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Assembly advertiser: Programming Forums
Views: 1121 | Replies: 3
![]() |
•
•
Join Date: Apr 2007
Posts: 1
Reputation:
Rep Power: 0
Solved Threads: 0
I used a guide from Ticalc.org. ANd the assembler gave me this code, could someone please tell me what's wrong? I have all the requirements that are required for TASM.
Heres the error that MS-DOS had given me.
C:\ASM\TASM>asm hello
==== Now assembling hello.z80 for the TI-83 Plus ====
TASM Z80 Assembler. Version 3.2 September, 2001.
Copyright (C) 2001 Squak Valley Software
tasm: pass 1 complete.
c:\asm\source\hello.z80 line 0006: Label not found: (t2ByteTok)
c:\asm\source\hello.z80 line 0006: Label not found: (tAsmCmp)
c:\asm\source\hello.z80 line 0007: unrecognized instruction. (B_CALL(_CLRLCDFULL))
c:\asm\source\hello.z80 line 0011: unrecognized instruction. (B_CALL(_PUTS))
c:\asm\source\hello.z80 line 0012: unrecognized instruction. (B_CALL(_NEWLINE))
tasm: pass 2 complete.
tasm: Number of errors = 5
==== Errors!!! ====
==== Done ====
Here's the original code of the asm program.
.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
---Thanks.
Heres the error that MS-DOS had given me.
C:\ASM\TASM>asm hello
==== Now assembling hello.z80 for the TI-83 Plus ====
TASM Z80 Assembler. Version 3.2 September, 2001.
Copyright (C) 2001 Squak Valley Software
tasm: pass 1 complete.
c:\asm\source\hello.z80 line 0006: Label not found: (t2ByteTok)
c:\asm\source\hello.z80 line 0006: Label not found: (tAsmCmp)
c:\asm\source\hello.z80 line 0007: unrecognized instruction. (B_CALL(_CLRLCDFULL))
c:\asm\source\hello.z80 line 0011: unrecognized instruction. (B_CALL(_PUTS))
c:\asm\source\hello.z80 line 0012: unrecognized instruction. (B_CALL(_NEWLINE))
tasm: pass 2 complete.
tasm: Number of errors = 5
==== Errors!!! ====
==== Done ====
Here's the original code of the asm program.
.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
---Thanks.
•
•
Join Date: Sep 2008
Posts: 2
Reputation:
Rep Power: 0
Solved Threads: 0
I'm a newbie with the same problem. Getting the error on the b_call(...) lines. I noticed in the t83plus.inc include file there is a commented out section, see below. Does anyone have any clues?
asm Syntax (Toggle Plain Text)
;====================================================================== ; Macro to call base code from an app, ;====================================================================== ; ;rBR_CALL EQU 28h ; NEEDED FOR APPS ;BRT_JUMP0 EQU 50h ; ;B_CALL macro label ; RST rBR_CALL ; DW _&label ; .endm ; ;B_JUMP macro label ; CALL BRT_JUMP0 ; fixed location on page 0 ; DW _&label ; .endm
Last edited by cscgal : Sep 2nd, 2008 at 10:45 pm. Reason: Added code tags
![]() |
•
•
•
•
•
•
•
•
DaniWeb Assembly Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Other Threads in the Assembly Forum
- Previous Thread: routine parameters and variables
- Next Thread: Art of assembly question


Linear Mode