// Tests the sizeof() operator on types

const byte* SCREEN = $400;

void main() {
    byte idx = 0;
    SCREEN[idx++] = '0'+sizeof(void);
    idx++;
    SCREEN[idx++] = '0'+sizeof(byte);
    SCREEN[idx++] = '0'+sizeof(signed byte);
    SCREEN[idx++] = '0'+sizeof(unsigned char);
    SCREEN[idx++] = '0'+sizeof(signed char);
    SCREEN[idx++] = '0'+sizeof(bool);
    idx++;
    SCREEN[idx++] = '0'+sizeof(word);
    SCREEN[idx++] = '0'+sizeof(signed word);
    SCREEN[idx++] = '0'+sizeof(unsigned int);
    SCREEN[idx++] = '0'+sizeof(signed int);
    SCREEN[idx++] = '0'+sizeof(unsigned short);
    SCREEN[idx++] = '0'+sizeof(signed short);
    idx++;
    SCREEN[idx++] = '0'+sizeof(byte*);
    SCREEN[idx++] = '0'+sizeof(word*);
    SCREEN[idx++] = '0'+sizeof(int**);
    SCREEN[idx++] = '0'+sizeof(int***);
    SCREEN[idx++] = '0'+sizeof(byte[]);
    idx++;
    SCREEN[idx++] = '0'+sizeof(dword);
    SCREEN[idx++] = '0'+sizeof(signed dword);
    SCREEN[idx++] = '0'+sizeof(unsigned long);
    SCREEN[idx++] = '0'+sizeof(signed long);

}