On 2/8/2018 10:49 AM, Steven Schveighoffer wrote:
On 2/8/18 1:42 PM, Ralph Doncaster wrote:
On Thursday, 8 February 2018 at 18:31:06 UTC, Walter Bright wrote:
    db    0ffffffdeh,0ffffffadh,0ffffffbeh,0ffffffefh    ;....
But it looks like they are all dchar, so 4x the space vs x"deadbeef"?

The 'db' means 'define byte'. dw for words, dd for 32 bit words.

I was looking at that too when I was testing the differences, but actually, it's the same when you use x"deadbeef".

Yes.


I wonder if it's an issue with how obj2asm prints it out? Surely, that data array must be contiguous, and they must be bytes. Otherwise the resulting code would be wrong.

Yes. I just never bothered to fix it.

Reply via email to