again, some TABs slipped into the code...
This commit is contained in:
@@ -1,21 +1,21 @@
|
||||
static unsigned char val;
|
||||
|
||||
static void foo(void) {
|
||||
val = 5;
|
||||
val = 5;
|
||||
}
|
||||
|
||||
static void wrap(void) {
|
||||
|
||||
asm("lda #<%v", foo);
|
||||
asm("ldx #>%v", foo);
|
||||
asm("jmp callax");
|
||||
asm("lda #<%v", foo);
|
||||
asm("ldx #>%v", foo);
|
||||
asm("jmp callax");
|
||||
|
||||
}
|
||||
|
||||
int main(void) {
|
||||
|
||||
val = 0;
|
||||
wrap();
|
||||
val = 0;
|
||||
wrap();
|
||||
|
||||
return val == 5 ? 0 : 1;
|
||||
return val == 5 ? 0 : 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user