On Mon, Oct 18, 2004 at 03:08:08PM -0700, Matt Thomas wrote:
> The following commands for ex(1) will fix the asm:
>
> g/;/ s//#/
> g/[^a-z]r[0-9]/ s/\([^a-z]\)r\([0-9]\)/\1%r\2/g
> g/[^a-z]cr[0-9]/ s/\([^a-z]\)cr\([0-9]\)/\1%cr\2/g
> g/[^a-z]v[0-9]/ s/\([^a-z]\)v\([0-9]\)/\1%v\2/g
> g/hi16(.*)/ s;hi16(\(.*\));\1@h;
> g/lo16(.*)/ s;lo16(\(.*\));\1@l;
> wq
>
> and make it assemble with the NetBSD gas. Feel free to adapt
> them to sed or whatever method make you happy. :)
Thank you for the fix! Once I have access to a macppc system, I will
test this.
Cheers,
Ben