Closed Emashzed closed 2 years ago
But there is (as displayed on your log) a STOP instruction at line 407
Replacing STOP, RUN, LET which are Rasm directives and reserved keyword by something else DOSTOP,DORUN,DOLET solved first issues
Then modifying macro because the definition is kindah exotic (hey, GNU, what else ^_^)
Oh, i see another reserved keyword (used for Winape compatibility) LIST
Will continue later but there is a LOT of reserved keyword and maybe more incompatibilities
ABS and RND => DOABS,DORND SHR => >>
It compiles ^_^
You may make a "diff" to see what i changed
Kudos for the lightning fast feedback Edouard. Indeed, it's quite fair that RASM would behave as such when encountering reserved keywords. I though I might have stumbled upon a bug somehow and totally missed the "STOP" directive, silly me. RASM is to Z80 what NASM is to x86, once you try it, you never go back. Thanks for the great work.
TinyBasic will not compile with RASM. TinyBasic 2.5g source : http://retrodepot.net/wp-content/uploads/2017/12/tinybasic_2_5g.txt (supposedly this is valid GNU Z80Asm source code).
RASM 1.6 used
Weird thing is, these labels do exist...