[b][red]This message was edited by Raison at 2004-9-15 12:16:56[/red][/b][hr]
I was experimenting the difference between the two directives DC.B 'ABCDE' and DC.W 'ABCDE' on the assembler. The first one compiles nicely while the assembler complains that the operand will be truncated for the second directive.
When I checked the result on a simulator, the full sequence 'ABCDE' appears on the memory at $1000 for DC.B 'ABCDE' but only 'DE' is written to $1000 for DC.W 'ABCDE'.
Is it suppose to be like this? Or is it that the simulator is not following the standards?
I was expecting:
mem address content