Commit b81fb4a0 authored by Alfons Laarman's avatar Alfons Laarman

32 bit PCs

parent d72ebddd
......@@ -76,7 +76,7 @@ public class LTSminTypeNative extends LTSminTypeImpl {
case 8:
return C_TYPE_UINT8; // BYTE
case 16:
return C_TYPE_UINT16; // PC
return C_TYPE_UINT32; // PC
default:
throw new AssertionError("ERROR: Unable to handle: " + var.getName() +" ("+ var.getType().getJavaName() + ").");
}
......
......@@ -24,7 +24,7 @@ public class VariableType {
public static VariableType BYTE = new VariableType("byte", "uint", 8);
public static VariableType PC = new VariableType("pc", "int", 16);
public static VariableType PC = new VariableType("pc", "int", 32);
public static VariableType PID = new VariableType("pid", "uint", 8);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment