Menu

#79 cmp #"m" and cmp #"M" wrong

1.60.3243
pending-invalid
nobody
None
5
2026-04-05
2026-01-08
Jeff Brown
No

This compiles wrong:

cmp #"m"
cmp #"M"

in acme it compiles as C9 6D C9 4D

in tass it compiles as C9 4D C9 CD

I also verified in Merlin64 assember to be same as acme

also cmp 'm' and 'M' in single quotes is exactly the same

Discussion

  • Jeff Brown

    Jeff Brown - 2026-01-08

    Might be me. I was using the -a convert to petscii without that it compiles file but screws up all of my text.

     
  • Soci/Singular

    Soci/Singular - 2026-04-05

    The -a option sets up PETSCII translation and Acme in the example looks like ASCII. If the source uses 8-bit characters and should be kept as-is then don't use that option. Otherwise (e.g. it's utf-8) use -a and set up an identity encoding in the ASCII range like this:

                    .enc "ascii"
                    .cdef " ~", 32
    
     
  • Soci/Singular

    Soci/Singular - 2026-04-05
    • status: open --> pending-invalid
     

Log in to post a comment.

MongoDB Logo MongoDB