ARM9 / bass

fork of byuu's bass assembler
169 stars 50 forks source link

map comma ',' #8

Open PeterLemon opened 8 years ago

PeterLemon commented 8 years ago

test.asm file for this is: output "test.bin", create map ',', $43 db "Hello, World"

bass gives this error atm: error: malformed expression: ' test.asm:2:1: map ',', $43 bass: assembly failed

Would be useful to be able to map a comma character for font tables in bass.

queueRAM commented 8 years ago

As might be expected, mapping the following characters is also problematic: ' " , ;

Vaguely related, strings containing two forward slashes "//" error because bass sees this as a comment. Let me know if I should create a separate issue to track this. test.asm for this:

output "test.bin", create
db "no//comment"

bass gives this error:

error: malformed expression: "no
test.asm:2:1: db "no
bass: assembly failed
hansbonini commented 4 years ago

An issue for this:

map $2C, $43 // ","