??? 05/03/06 14:55 Read: times |
#115477 - Exactly! It's assembler syntax. Responding to: ???'s previous message |
This has nothing to do with the instruction set of the MCU, but it has everything to do with the syntax of the Assembler. Some assemblers (not just the usual 805x suspects, however) limit the number of bytes in a "DB" statement to some fixed quantity, e.g. the 16 in question, while others limit it to what will fit on one line, and others, still, will limit it to a single byte, a word, or a long word. Some require "DB" for some cases and "DS" for others. Some want to see ".BYTE" or ".WORD" and I'm sure there are many more.
It's assembler-specific, and the assembler manual should be on the desk, lap, or floor next to you (if you're like me) when you're using the assembler. Generally, if they're comma-separated hex values, they're taken as bytes in the order specified, located "right here" beginning with the "current" address pointer value. I surely hope it's spelled out in the manual for your assembler. RE |
Topic | Author | Date |
using memory | 01/01/70 00:00 | |
1) what is the problem 2) as always, the | 01/01/70 00:00 | |
Not in the "bible"? | 01/01/70 00:00 | |
oh well | 01/01/70 00:00 | |
16 limit? | 01/01/70 00:00 | |
Exactly! It's assembler syntax. | 01/01/70 00:00 | |
Pseudo Instruction | 01/01/70 00:00 | |
Pseudo Instruction? | 01/01/70 00:00 | |
"Pseudo-Op" ??? | 01/01/70 00:00 | |
Blur | 01/01/70 00:00 | |
Top marks | 01/01/70 00:00 | |
movc | 01/01/70 00:00 |