This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
recently I upgraded our GNU toolchain for use with the H8/300h and H8/300s microcontrollers.
When using the binutils 2.15 the errors shown in the following example
assembler file occurred. They do not happen if binutils 2.14 are used:
----------------------------------------------------
.h8300h ;directive for h8300h code .equ NUMBER, 0x80 .equ NUMBER2, 0x70
; 1st error: AND.B #~NUMBER, r3l ; this causes: "Error: invalid operands" AND.B #~0x0F, r3l ; this works AND.B #~NUMBER2, r3l ; this also works (error seem to depend on the ; number - the most significant bit seems to be the problem)
; 2nd error (does not occur when ".h8300s" is chosen; but the h8300h also
; has this instruction and address mode). The following warning and error
; are issued: Warning: Opcode `bclr' with these operand types not ; available in H8/300H mode ; Error: invalid operands
bclr #6, @0xFFFFFF7C ; clear RDRF
-----------------------------------------------------------------------
Does anybody know what causes these errors and how to correct them ?
I don't, but I suspect this would be a good question to ask the binutils mailing list. - Dan
-- My technical stuff: http://kegel.com My politics: see http://www.misleader.org for examples of why I'm for regime change
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |