// Test promotion of signed char parameter to word

unsigned int* const SCREEN = 0x0400;
int i = 0;

void main() {
    // First a constant signed char
    signed char sc = -41;
    print(sc);
    // And then a loop with a signed char
    for( signed char sc2: -5..5)
        print(sc2);
}

void print(unsigned int d) {
    SCREEN[i++] = d;
}
