dasm-assembler / dasm

Macro assembler with support for several 8-bit microprocessors

Home Page:https://dasm-assembler.github.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dasm creates wide-char strings in opposite byte-order as desired

thomas374b opened this issue · comments

I tried to create a wide-char string in little-endian byte-order. This failed since my 'processor' has MSB order. It would be a nice feature if dasm have another extension to DC that creates word in the opposite byte-order. i.e.

DC.w "unicode" ; bytes order same as with current 'processor'
DC.s "unicode" ; opposite byte order ; 's' ~ abbrev. for 'short swap'