1
0
mirror of https://gitlab.com/camelot/kickc.git synced 2025-08-06 15:25:38 +00:00
Files
kickc/src/test/kc/varcall-1.c

13 lines
189 B
C

// Test __varcall calling convention
// Parameter passing
void main() {
setbg(0);
setbg(0x0b);
}
char * const BGCOL = 0xd021;
__varcall void setbg(char col) {
*BGCOL = col;
}