// Minimal struct with C-Standard behavior - struct containing struct

struct Point {
    char x;
    char y;
};

struct Vector {
    struct Point p;
    struct Point q;
};

const char* SCREEN = 0x0400;

void main() {
    __ma struct Vector v;
    v.p.x = 2;
    v.p.y = 3;
    v.q.x = 4;
    v.q.y = 5;
    SCREEN[0] = v.p.x;
    SCREEN[1] = v.p.y;
    SCREEN[2] = v.q.x;
    SCREEN[3] = v.q.y;
}