This is an archived, read-only copy of the United-TI subforum , including posts and topic from May 2003 to April 2012. If you would like to discuss any of the topics in this forum, you can visit Cemetech's
z80 & ez80 Assembly subforum. Some of these topics may also be directly-linked to active Cemetech topics. If you are a Cemetech member with a linked United-TI account, you can link United-TI topics here with your current Cemetech topics.
Z80 & 68k Assembly =>
z80 & ez80 Assembly
Author |
Message |
|
Mapar007
Advanced Member
Joined: 04 Oct 2008 Posts: 365
|
Posted: 05 Nov 2008 08:24:34 am Post subject: |
|
|
Hey guys, I'm new here, and I have a problem using the tASM assembler. If I run it, it displays hundreds, maybe thousands of error messages like the following.
ti83plus.inc: label value missaligned <a label>
Any help?? |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 05 Nov 2008 12:22:37 pm Post subject: |
|
|
Yes, I can help.
You must be using TI include file. It is not good for tasm.
Search in ticalc another include file and use it instead and should be solved those hundred errors. I also had that problem and that was what I made.
Last edited by Guest on 05 Nov 2008 12:26:07 pm; edited 1 time in total |
|
Back to top |
|
|
Mapar007
Advanced Member
Joined: 04 Oct 2008 Posts: 365
|
Posted: 05 Nov 2008 01:42:12 pm Post subject: |
|
|
Galandros wrote: Yes, I can help.
You must be using TI include file. It is not good for tasm.
Search in ticalc another include file and use it instead and should be solved those hundred errors. I also had that problem and that was what I made.
[post="128491"]<{POST_SNAPBACK}>[/post]
Ok, I got one from ticalc, but it gives some errors still, e.g. it doesn't find _ClrLCDFull, _PutS, and _NewLine, but however they are in the inc file...
I'm trying to assemble this:
Code: .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
|
|
Back to top |
|
|
darkstone knight
Advanced Member
Joined: 07 Sep 2008 Posts: 438
|
Posted: 05 Nov 2008 02:05:39 pm Post subject: |
|
|
try bcall(_ClrLCDFull)
not b_call(_ClrLCDFull) |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 05 Nov 2008 03:53:48 pm Post subject: |
|
|
Ok is better.
Now try darkstone tip.
If that doesn't solve or you want to use b_call instead of bcall write this in you include file:
#define b_call(xxxx) rst 28h \ .dw xxxx
Or, sorry, get a better include file.
http://www.unitedti.org/index.php?showtopic=8307
Download the attachment in the end of the topic. I can't find Brett Wagner orignal include file. |
|
Back to top |
|
|
darkstone knight
Advanced Member
Joined: 07 Sep 2008 Posts: 438
|
Posted: 05 Nov 2008 03:59:38 pm Post subject: |
|
|
btw,
b_call(_ClrLCDFull)
LD HL, 0
LD (PenCol), HL
is indintical to:
BCALL(_homeUP)
Last edited by Guest on 22 Jul 2010 12:08:38 pm; edited 1 time in total |
|
Back to top |
|
|
calc84maniac
Elite
Joined: 22 Jan 2007 Posts: 770
|
Posted: 05 Nov 2008 04:47:36 pm Post subject: |
|
|
darkstone knight wrote: btw,
b_call(_ClrLCDFull)
LD HL, 0
LD (PenCol), HL
is indintical to:
BCALL(_homeUP)
[post="128501"]<{POST_SNAPBACK}>[/post]
No, it's actually
Code: ld hl,0
ld (currow),hl
I should know, I've disassembled it before.
Last edited by Guest on 22 Jul 2010 12:08:23 pm; edited 1 time in total |
|
Back to top |
|
|
Mapar007
Advanced Member
Joined: 04 Oct 2008 Posts: 365
|
Posted: 06 Nov 2008 10:40:29 am Post subject: |
|
|
Thank you so much, all of you, IT WORKS! (lol sorry for the hysterical reaction...) :biggrin: |
|
Back to top |
|
|
Galandros
Active Member
Joined: 29 Aug 2008 Posts: 565
|
Posted: 06 Nov 2008 05:40:04 pm Post subject: |
|
|
Mapar007 wrote: Thank you so much, all of you, IT WORKS! (lol sorry for the hysterical reaction...) :biggrin:
[post="128524"]<{POST_SNAPBACK}>[/post]
We can support some hysteric... (kidding)
Welcome to TI assembly development and mostly enjoy. We wait some fruits. |
|
Back to top |
|
|
|
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.
»
Go to Registration page