Thanks Rob,
I tried with r7, and result is the same
I could not send a "relevant" part of the program, since I already tried by commenting out part after part and I cannot find which part is causing troube.
Fyi, I reinstalled a clean fresh version of the 1.9 jallib latest version
Also note that a .asm file is created with a header in it and nothing else.
Seems like all the syntax checking is ok, but something goes wrong after that.....
The main file is attached to this message. The library files that are referenced are the original 1.9 versions
Compilation started at :11-01-25 17:38:24
jal jalv25r7 (compiled Jan 29 2023)
generating p-code
1236 tokens, 294280 chars; 6401 lines; 12 files
generating PIC code pass 1
Assertion failed!
[Error] (jalv2_64.exe.jal) [Line 0]
File: pic_op.c, Line 3110
Expression: !value_is_const(val1)
Compiler CommandLine: Y:\== TOOLS\JalLib1.9\compiler\other_versions\jalv25r7\jalv2_64.exe -Wno-all -s "Y:\== TOOLS\Jallib1.9\lib;Y:\== TOOLS\PICjal\JAL\Libraries;Y:\== TOOLS\JalLibWorkspace\lib" "Y:\== PROJETS EN COURS\NAS\Ventilos\Ventilos2\Ventilos2.jal"
Errors :0 Warnings :0
Code :0/100 Data:0/100 Hardware Stack : 0/100 Software Stack :0