Subject:
|
Newbie user of imagecraft c.
|
Newsgroups:
|
lugnet.robotics.handyboard
|
Date:
|
Fri, 26 Dec 1997 23:46:13 GMT
|
Original-From:
|
Germán Gentile <GGENTILE@CVTCInomorespam.COM.AR>
|
Viewed:
|
257 times
|
| |
| |
Is the assembler of the ICC11 fully comaptible with the as11
assembler???
I have messages of error with that sentences:
asm("PORTA: EQU $1020");
asm("PORTB: EQU $1004");
asm("PORTC: EQU $1003");
asm("HPRIO: EQU $103C");
asm("DDRC: EQU $1007");
asm("FULL: EQU $FF");
error message:
!E lcd.s(364): Unknown directive or processor opcode
!E lcd.s(365): Unknown directive or processor opcode
!E lcd.s(366): Unknown directive or processor opcode
!E lcd.s(367): Unknown directive or processor opcode
!E lcd.s(368): Unknown directive or processor opcode
!E lcd.s(369): Unknown directive or processor opcode
sentences :
asm(" BCLR HPRIO,X 00100000 ; put into single chip mode")
asm(" BCLR PORTA,X 00010000 ; turn off LCD E line")
error message:
!E lcd.s(372): Missing or improper operators, terminators, or
delimiters
!E lcd.s(373): Missing or improper operators, terminators, or
delimiters
sentences :
#pragma abs_address:0x030 /* modified by ger */
asm("_lcdstart: EQU *")
#pragma end_abs_address /* modified by ger */
How i can define in other way a fixed position in memory (the position
0x030 by example???)
I need to set a label wich i can see in assembler routines . Wich is
the better way???
error message:
!E lcd.s(467): Unknown directive or processor opcode
FCB directives don't work neither. What is wrong?
other errors :
Error: Unsigned Byte Error
file module area offset
Refby lcd lcd text 0144
Defin lcd lcd text 013D
Error: Unsigned Byte Error
file module area offset
Refby lcd lcd text 0147
Defin lcd lcd text 013D
Error: Unsigned Byte Error
file module area offset
Refby lcd lcd text 0149
Defin lcd lcd text 013D
How i can find what produce it?
I'm working migrating my code for LCD driver for handy board. I
already make a code in assembler and it work fine. In the freeware
version of icc i put it code in crt.s . I now see you touch so much
that code (the new crt11.s is very different) and i don't want to do
the same work with the version 5!!! Thus , You know the handy work in
expanded mode for send commands to LCD. I need to copy the driver at
runtime into the first 256 bytes of ram (internal). The only way i
know is with assembler (exist another?) Well, i know make too much
answers, pls sorry, and thanks in advance.
Germán Gentile
|
|
1 Message in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|