commit 82ffefd

Devine Lu Linvega  ·  2024-11-12 20:04:29 +0000 UTC
parent e209d73
(uxn.c) k flag is now const
1 files changed,  +4, -4
+4, -4
 1@@ -16,10 +16,10 @@ WITH REGARD TO THIS SOFTWARE.
 2 	case 0x20|opc: {const int _2=1,_r=0;init body;} break;\
 3 	case 0x40|opc: {const int _2=0,_r=1;init body;} break;\
 4 	case 0x60|opc: {const int _2=1,_r=1;init body;} break;\
 5-	case 0x80|opc: {const int _2=0,_r=0;int k=uxn.wst.ptr;init uxn.wst.ptr= k;body;} break;\
 6-	case 0xa0|opc: {const int _2=1,_r=0;int k=uxn.wst.ptr;init uxn.wst.ptr= k;body;} break;\
 7-	case 0xc0|opc: {const int _2=0,_r=1;int k=uxn.rst.ptr;init uxn.rst.ptr= k;body;} break;\
 8-	case 0xe0|opc: {const int _2=1,_r=1;int k=uxn.rst.ptr;init uxn.rst.ptr= k;body;} break;\
 9+	case 0x80|opc: {const int _2=0,_r=0,k=uxn.wst.ptr;init uxn.wst.ptr=k;body;} break;\
10+	case 0xa0|opc: {const int _2=1,_r=0,k=uxn.wst.ptr;init uxn.wst.ptr=k;body;} break;\
11+	case 0xc0|opc: {const int _2=0,_r=1,k=uxn.rst.ptr;init uxn.rst.ptr=k;body;} break;\
12+	case 0xe0|opc: {const int _2=1,_r=1,k=uxn.rst.ptr;init uxn.rst.ptr=k;body;} break;\
13 }
14 
15 /* Microcode */