mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 21:32:19 +00:00
20 lines
230 B
C
20 lines
230 B
C
|
|
#include <stdlib.h>
|
|
|
|
int main(void)
|
|
{
|
|
// this works
|
|
c_label:
|
|
asm("inx\n"
|
|
"bne %g\n",
|
|
c_label);
|
|
|
|
// this does not work
|
|
c_label2:
|
|
asm("inx\n"
|
|
"bne %g \n",
|
|
c_label2);
|
|
|
|
return EXIT_SUCCESS;
|
|
}
|