Subject:
|
Re: Further Adventures with Assembler
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Tue, 27 Jan 2004 16:54:56 GMT
|
Viewed:
|
4391 times
|
| |
| |
In lugnet.robotics.rcx.legos, Mark Riley wrote:
> In lugnet.robotics.rcx.legos, Michael Purvis wrote:
> > mov.b @(_myglobalarray, r3), r5
>
> The line above should produce an error because you are specifying a byte move
> into a word register.
Yeah... that was me being stupid. The types are all correct in the program. I
tried compiling without the .b and .w's, just to be sure and it's the same
error. The arrays that cause the problem are of type const char. There's three
that have 18 elements, and one that has 5.
The problem seems to be that it doesn't recognize the symbol 'myglobalarray'. In
the actual case, they're different names, but it just confuses me that it would
see it when it first appears and then trigger an error when it appears later on.
Mike
|
|
Message has 1 Reply:
Message is in Reply To:
| | Re: Further Adventures with Assembler
|
| (...) The line above should produce an error because you are specifying a byte move into a word register. The fact that it doesn't always cause an error makes me think there's something flakey (in the assembler) in the way instruction operand sizes (...) (21 years ago, 27-Jan-04, to lugnet.robotics.rcx.legos)
|
4 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|