Fuzix-Compiler-Kit
Fuzix-Compiler-Kit copied to clipboard
be-code-6800.c write_uni_op() breaks the stack if the destination of the assignment is a char.
--- ../Fuzix-Compiler-Kit/be-code-6800.c 2024-10-11 05:18:39
+++ be-code-6800.c 2024-10-11 17:44:23
@@ -714,7 +714,7 @@
case T_LSTORE:
case T_LREF:
off = make_local_ptr(v + off, 254);
- uniop_on_ptr(op, off, 2);
+ uniop_on_ptr(op, off, s);
break;
case T_LBSTORE:
case T_LBREF: