Initial PROTEL 2026 toolchain import

This commit is contained in:
2026-06-08 18:04:03 -05:00
commit 98a0bb329d
125 changed files with 12223 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
% PROTEL library exported for Java (EXPORT = extern "C" linkage)
% Java loads the shared object via JNI (java_calls_protel.c bridge).
INTERFACE protel_math;
TYPE integer {-32768 TO 32767};
DCL protel_add PROC(a integer, b integer) RETURNS integer EXPORT;
DCL protel_add PROC(a integer, b integer) RETURNS integer IS
BLOCK
RETURN a + b;
ENDBLOCK;